performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / section / name / AuthorshipDetailElement.java
index 802252d779c670da553f9e1d8839c073fa6f2c89..c7ab7407942bf6af158615dbf0de576beb925a95 100644 (file)
@@ -30,6 +30,8 @@ import eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement;
 import eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection;
 
 /**
+ * <p>AuthorshipDetailElement class.</p>
+ *
  * @author n.hoffmann
  * @created Mar 4, 2010
  * @version 1.0
@@ -43,11 +45,19 @@ public class AuthorshipDetailElement extends AbstractCdmDetailElement<NonViralNa
        private AbstractSelectionElement selection_exCombinationAuthorTeam;
        private AbstractSelectionElement selection_combinationAuthorTeam;
        
+       /**
+        * <p>Constructor for AuthorshipDetailElement.</p>
+        *
+        * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
+        * @param formElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object.
+        * @param style a int.
+        */
        public AuthorshipDetailElement(CdmFormFactory cdmFormFactory,
                        ICdmFormElement formElement, int style) {
                super(cdmFormFactory, formElement);
        }
        
+       /** {@inheritDoc} */
        @Override
        protected void createControls(ICdmFormElement formElement, NonViralName entity, int style) {
                toggleable_cache = formFactory.createToggleableTextField(this, "Authorship Cache", entity.getAuthorshipCache(), entity.isProtectedAuthorshipCache(), style);
@@ -66,6 +76,7 @@ public class AuthorshipDetailElement extends AbstractCdmDetailElement<NonViralNa
                addElement(selection_exBasionymAuthorTeam);
        }
 
+       /** {@inheritDoc} */
        @Override
        public void updateContent() {
                if(getEntity() == null){
@@ -84,6 +95,7 @@ public class AuthorshipDetailElement extends AbstractCdmDetailElement<NonViralNa
        }
        
        
+       /** {@inheritDoc} */
        @Override
        public void handleEvent(Object eventSource) {
                if(eventSource == toggleable_cache){