From: Katja Luther Date: Thu, 16 Apr 2015 11:50:33 +0000 (+0000) Subject: minor X-Git-Tag: 3.6.0~110 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/43c825ae0f2c82a8dd85c42be911dc5c8f17a044 minor --- diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java index 580bf1f0d..8277684da 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java @@ -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");