performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / dialogs / filteredSelection / FilteredNomenclaturalAuthorTeamSelectionDialog.java
index 9c8f29bbde452c45e645d50eb51602c3340fe7f0..b29069729a0644a7415cf3a7f728458de36ce62f 100644 (file)
@@ -21,6 +21,8 @@ import eu.etaxonomy.taxeditor.editor.newWizard.NewTeamWizard;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 /**
+ * <p>FilteredNomenclaturalAuthorTeamSelectionDialog class.</p>
+ *
  * @author n.hoffmann
  * @created Jun 22, 2010
  * @version 1.0
@@ -28,32 +30,54 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
 public class FilteredNomenclaturalAuthorTeamSelectionDialog extends
        AbstractFilteredCdmResourceSelectionDialog<Team> {
 
+       /**
+        * <p>select</p>
+        *
+        * @param shell a {@link org.eclipse.swt.widgets.Shell} object.
+        * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
+        * @param team a {@link eu.etaxonomy.cdm.model.agent.Team} object.
+        * @return a {@link eu.etaxonomy.cdm.model.agent.Team} object.
+        */
        public static Team select(Shell shell, ConversationHolder conversation, Team team){
                FilteredNomenclaturalAuthorTeamSelectionDialog dialog = new FilteredNomenclaturalAuthorTeamSelectionDialog(shell, conversation,
                                "Choose Author Team", false, FilteredNomenclaturalAuthorTeamSelectionDialog.class.getCanonicalName(), team);
                return getSelectionFromDialog(dialog);
        }
        
+       /**
+        * <p>Constructor for FilteredNomenclaturalAuthorTeamSelectionDialog.</p>
+        *
+        * @param shell a {@link org.eclipse.swt.widgets.Shell} object.
+        * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
+        * @param title a {@link java.lang.String} object.
+        * @param multi a boolean.
+        * @param settings a {@link java.lang.String} object.
+        * @param agent a {@link eu.etaxonomy.cdm.model.agent.Team} object.
+        */
        protected FilteredNomenclaturalAuthorTeamSelectionDialog(Shell shell, ConversationHolder conversation, String title,
                        boolean multi, String settings, Team agent) {
                super(shell, conversation, title, multi, settings, agent);
        }
        
+       /** {@inheritDoc} */
        @Override
        protected AbstractNewEntityWizard getNewEntityWizard() {
                return new NewTeamWizard();
        }
 
+       /** {@inheritDoc} */
        @Override
        protected String getNewWizardLinkText() {
                return "Click link to create a new <A>Team</A>.";
        }
 
+       /** {@inheritDoc} */
        @Override
        protected void initModel() {
                model = CdmStore.getAgentService().getTeamUuidAndNomenclaturalTitle();
        }
 
+       /** {@inheritDoc} */
        @Override
        protected Team getPersistentObject(UUID uuid) {
                return (Team) CdmStore.getAgentService().load(uuid);