performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / section / name / SpecimenTypeDesignationElement.java
index 4d6375535ac61b9039cc203d7605d7c1f025bdd5..ff2d242c39512de1661e0fe569aec2d285d288ae 100644 (file)
@@ -26,6 +26,8 @@ import eu.etaxonomy.taxeditor.forms.selection.DerivedUnitBaseSelectionElement;
 import eu.etaxonomy.taxeditor.forms.term.SpecimenTypeDesignationStatusComboElement;
 
 /**
+ * <p>SpecimenTypeDesignationElement class.</p>
+ *
  * @author n.hoffmann
  * @created May 17, 2010
  * @version 1.0
@@ -37,12 +39,22 @@ public class SpecimenTypeDesignationElement extends
        private DerivedUnitBaseSelectionElement selection_typeSpecimen;
        private TextWithLabelElement text_specimenTypeText;
        
+       /**
+        * <p>Constructor for SpecimenTypeDesignationElement.</p>
+        *
+        * @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
+        * @param section a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object.
+        * @param entity a {@link eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation} object.
+        * @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
+        * @param style a int.
+        */
        public SpecimenTypeDesignationElement(CdmFormFactory formFactory,
                        AbstractFormSection section, SpecimenTypeDesignation entity,
                        SelectionListener removeListener, int style) {
                super(formFactory, section, entity, removeListener, style);
        }
        
+       /** {@inheritDoc} */
        @Override
        public void createControls(ICdmFormElement formElement, int style) {
                // TODO until we do not have a specimen editor we will provide a simple text interface to enter specimen 
@@ -56,6 +68,7 @@ public class SpecimenTypeDesignationElement extends
                super.createControls(formElement, style);
        }
        
+       /** {@inheritDoc} */
        @Override
        public void setEntity(SpecimenTypeDesignation entity) {
                super.setEntity(entity);
@@ -69,6 +82,7 @@ public class SpecimenTypeDesignationElement extends
                checkbox_notDesignated.setSelection(entity.isNotDesignated());
        }
 
+       /** {@inheritDoc} */
        @Override
        public void handleEvent(Object eventSource) {
                if(eventSource == combo_typeStatus){