X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/b1bafade146a68f3dd0bf634142a453002a390da..7df92cb1c3b1ce025ae39c8082086c76d9f918d4:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java index 716481ae9..377ccc84c 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ClassificationChooserWizardPage.java @@ -36,19 +36,13 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste public static final String PAGE_NAME = "ClassificationChooserWizardPage"; + //classification private Text textClassification; private Classification classification; private Button btnBrowseClassification; private Button btnClear; - /** - *

Constructor for ImportFromFileDataSourceWizardPage.

- * - * @param title a {@link java.lang.String} object. - * @param description a {@link java.lang.String} object. - * @param extensions an array of {@link java.lang.String} objects. - */ protected ClassificationChooserWizardPage(String title, String description) { super(PAGE_NAME); @@ -58,20 +52,12 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste } - /** - *

XML

- * - * @return a {@link eu.etaxonomy.taxeditor.io.wizard.ClassificationChooserWizardPage} object. - */ protected static ClassificationChooserWizardPage createPage(){ - return new ClassificationChooserWizardPage("Choose Classification", "Note: Selecting no classification will create a default one."); + return new ClassificationChooserWizardPage("Configure import destinations", "Note: Selecting no classification will create a default one."); } - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) - */ /** {@inheritDoc} */ @Override public void createControl(Composite parent) { @@ -81,6 +67,7 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste gridLayout.numColumns = 4; composite.setLayout(gridLayout); + //classification Label label = new Label(composite, SWT.NONE); label.setText("Classification"); textClassification = new Text(composite, SWT.NONE); @@ -96,9 +83,6 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste setControl(composite); } - /* (non-Javadoc) - * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event) - */ @Override public void handleEvent(Event event) { if(event.widget==btnBrowseClassification){ @@ -113,11 +97,11 @@ public class ClassificationChooserWizardPage extends WizardPage implements Liste } } - /** * @return the classification */ public Classification getClassification() { return classification; } + }