From: p.plitzner
AbcdImportWizard class.
* * @author n.hoffmann * @created Jun 16, 2010 @@ -41,18 +40,12 @@ public class AbcdImportWizard extends AbstractImportWizardgetConfigurator
- * - * @return a CONFIG object. - */ public abstract CONFIG getConfigurator(); - /** - * @param selection the selection to set - */ public void setSelection(IStructuredSelection selection) { this.selection = selection; } - /** - * @return the selection - */ public IStructuredSelection getSelection() { return selection; } - /** - * @param workbench the workbench to set - */ public void setWorkbench(IWorkbench workbench) { this.workbench = workbench; } - /** - * @return the workbench - */ public IWorkbench getWorkbench() { return workbench; } diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java index 3c7f5516d..925e4ad48 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java @@ -28,7 +28,6 @@ import org.eclipse.swt.widgets.Text; import eu.etaxonomy.cdm.common.CdmUtils; /** - *ImportFromFileDataSourceWizardPage class.
* * @author n.hoffmann * @created 04.08.2009 @@ -45,14 +44,6 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage { private Text text_file; - - /** - *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 ImportFromFileDataSourceWizardPage(String title, String description, String[] extensions) { super(PAGE_NAME); @@ -63,20 +54,10 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage { this.extensions = extensions; } - /** - *XML
- * - * @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","*.*"}); } - - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) - */ /** {@inheritDoc} */ @Override public void createControl(Composite parent) { @@ -105,9 +86,6 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage { button.addSelectionListener(new SelectionAdapter(){ - /* (non-Javadoc) - * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent) - */ @Override public void widgetSelected(SelectionEvent e) { String path = fileDialog.open(); @@ -123,20 +101,10 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage { setControl(composite); } - /** - *getFile
- * - * @return a {@link java.io.File} object. - */ public File getFile() { return new File(text_file.getText()); } - /** - *getUri
- * - * @return a {@link java.net.URI} object. - */ public URI getUri() { return getFile().toURI(); }