performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / io / wizard / ImportFromFileDataSourceWizardPage.java
index a98eb91ad6c59730a483f9367f246829fa63d9ff..d4af38729c2bd5964bee54941c2ab5eecb782f1e 100644 (file)
@@ -26,12 +26,15 @@ import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
 
 /**
+ * <p>ImportFromFileDataSourceWizardPage class.</p>
+ *
  * @author n.hoffmann
  * @created 04.08.2009
  * @version 1.0
  */
 public class ImportFromFileDataSourceWizardPage extends WizardPage {
        
+       /** Constant <code>PAGE_NAME="CdmXmlDataSourceWizardPage"</code> */
        public static final String PAGE_NAME = "CdmXmlDataSourceWizardPage";
 
        private String[] extensions = {"*.xml"};
@@ -42,7 +45,11 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
        
        
        /**
-        * @param pageName
+        * <p>Constructor for ImportFromFileDataSourceWizardPage.</p>
+        *
+        * @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);
@@ -54,6 +61,11 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
                this.extensions = extensions;
        }
        
+       /**
+        * <p>XML</p>
+        *
+        * @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"});
        }
@@ -63,6 +75,7 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
        /* (non-Javadoc)
         * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
         */
+       /** {@inheritDoc} */
        public void createControl(Composite parent) {
                final Composite composite = new Composite(parent, SWT.NULL);
                
@@ -105,14 +118,18 @@ public class ImportFromFileDataSourceWizardPage extends WizardPage {
        }
 
        /**
-        * @return
+        * <p>getFile</p>
+        *
+        * @return a {@link java.io.File} object.
         */
        public File getFile() {
                return new File(text_file.getText());
        }
 
        /**
-        * @return
+        * <p>getUri</p>
+        *
+        * @return a {@link java.net.URI} object.
         */
        public URI getUri() {
                return getFile().toURI();