- added *.* to file chooser
authorPatric Plitzner <p.plitzner@bgbm.org>
Fri, 23 Jan 2015 11:59:12 +0000 (11:59 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Fri, 23 Jan 2015 11:59:12 +0000 (11:59 +0000)
 - fitted layout

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java

index 7538fddcef98edfa646ed18e275c88d6e0517aa0..b2fb046dd8e965e1b64f26f1c7831a12e71fd2fe 100644 (file)
@@ -115,7 +115,7 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste
 
         textFileReport = new Text(composite, SWT.BORDER);
         textFileReport.setEditable(false);
-        textFileReport.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
+        textFileReport.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
 
 
         Button buttonReport = new Button(composite, SWT.PUSH);
index 7b585050d5e55eeddbbca9a357907b1aa06c3aee..2d2415d96cc18e0e627bfef250e48c1bd33c6322 100644 (file)
@@ -67,7 +67,7 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
         * @return a {@link eu.etaxonomy.taxeditor.io.wizard.ImportFromFileDataSourceWizardPage} object.
         */
        protected static ImportFromFileDataSourceWizardPage XML(){
-               return new ImportFromFileDataSourceWizardPage("Xml File", "Select XML file.", new String[]{"*.xml"});
+               return new ImportFromFileDataSourceWizardPage("Xml File", "Select XML file.", new String[]{"*.xml","*.*"});
        }
 
 
@@ -117,6 +117,7 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
 
                });
 
+
                setControl(composite);
        }
 
@@ -137,4 +138,6 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
        public URI getUri() {
                return getFile().toURI();
        }
+
+
 }