Merge branch 'move-to-luna' into remoting-4.0
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / io / wizard / ExportToFileDestinationWizardPage.java
index 845c252512ff12cb4a585bdc0e27d3ea54f85710..a35e64490f9a9f6d3c6879b9d90a08572fc013a8 100644 (file)
@@ -58,14 +58,23 @@ 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 static String CSV_PRINT_EXPORT ="CSV_PRINT_EXPORT";
+
+       private static boolean csvPrintExport = false;
 
        private DirectoryDialog folderDialog;
        private Text text_exportFileName;
@@ -172,6 +181,32 @@ 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);
+    }
+    
+    /**
+     * @return
+     */
+    public static ExportToFileDestinationWizardPage CsvPrint() {
+       csvPrintExport  = true;
+        return new ExportToFileDestinationWizardPage(
+                CSV_PRINT_EXPORT,
+                "csvPrint",
+                "CSV Print Export",
+                "Export the content of the currently selected database into Semicolon Separated Value format.",
+                CSV);
+    }
 
        /*
         * (non-Javadoc)
@@ -199,6 +234,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");