minor
authorKatja Luther <k.luther@bgbm.org>
Thu, 16 Apr 2015 11:50:33 +0000 (11:50 +0000)
committerKatja Luther <k.luther@bgbm.org>
Thu, 16 Apr 2015 11:50:33 +0000 (11:50 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java

index 580bf1f0dc7bb3dfc572d244f70cce2dfeefe7c4..8277684dadd36a28a1b108df49492eba76d92ea3 100644 (file)
@@ -58,14 +58,19 @@ public class ExportToFileDestinationWizardPage extends WizardPage {
        public static final String DWCA_EXPORT = "DWCA_EXPORT";
 
        public static final String CSV_EXPORT = "CSV_EXPORT";
+       public static final String CSV_NAME_EXPORT = "CSV_NAME_EXPORT";
 
        public static final String XML = "xml";
 
        public static final String CSV = "csv";
+       
+       
 
        public static final String ZIP = "zip";
 
     private static boolean csvExport = false;
+    
+    private static boolean csvNameExport = false;
 
        private DirectoryDialog folderDialog;
        private Text text_exportFileName;
@@ -172,6 +177,19 @@ public class ExportToFileDestinationWizardPage extends WizardPage {
                 "Export the contents of the currently selected database into Comma Separated Value format.",
                 CSV);
     }
+    
+    /**
+     * @return
+     */
+    public static ExportToFileDestinationWizardPage CsvNames() {
+       csvNameExport = true;
+        return new ExportToFileDestinationWizardPage(
+                CSV_NAME_EXPORT,
+                "csvNames",
+                "CSV Name Export",
+                "Export the names of the currently selected database into Semicolon Separated Value format.",
+                CSV);
+    }
 
        /*
         * (non-Javadoc)
@@ -199,6 +217,9 @@ public class ExportToFileDestinationWizardPage extends WizardPage {
                    comboBox.setLayoutData(new GridData(SWT.FILL, SWT.FILL,
                                true, false, 2, 1));
                }
+               
+               
+
 
                Label fileLabel = new Label(composite, SWT.NONE);
                fileLabel.setText("File");