Trim code
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 18 Jan 2016 07:19:07 +0000 (08:19 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 18 Jan 2016 07:19:07 +0000 (08:19 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NameSelectionDialog.java

index 18555cafa5d44631d12cb85d420f58080dc62186..a3e52d6d9108d41ca618bb74722d44f604613891 100644 (file)
@@ -22,55 +22,28 @@ import eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 /**
- * <p>FilteredNameSelectionDialog class.</p>
- *
  * @author n.hoffmann
  * @created 04.06.2009
  * @version 1.0
  */
 public class NameSelectionDialog extends AbstractFilteredCdmResourceSelectionDialog<TaxonNameBase> {
 
-       /**
-        * Creates a filtered selection dialog to select a name.
-        *
-        * @param shell
-        *                              The shell for displaying this widget
-        * @param name
-        *                              A name that should be selected when the dialog opens
-        * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
-        * @return a {@link eu.etaxonomy.cdm.model.name.TaxonNameBase} object.
-        */
        public static TaxonNameBase select(Shell shell, ConversationHolder conversation, TaxonNameBase name) {
                NameSelectionDialog dialog = new NameSelectionDialog(shell, conversation,
                                "Choose a name", false, name);
                return getSelectionFromDialog(dialog);
        }
 
-       /**
-        * <p>Constructor for FilteredNameSelectionDialog.</p>
-        *
-        * @param shell a {@link org.eclipse.swt.widgets.Shell} object.
-        * @param title a {@link java.lang.String} object.
-        * @param name a {@link eu.etaxonomy.cdm.model.name.TaxonNameBase} object.
-        * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
-        * @param multi a boolean.
-        */
        protected NameSelectionDialog(Shell shell, ConversationHolder conversation, String title, boolean multi, TaxonNameBase name) {
                super(shell, conversation, title, multi, NameSelectionDialog.class.getCanonicalName(), name);
        }
 
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog#getPersistentObject(java.util.UUID)
-        */
        /** {@inheritDoc} */
        @Override
        protected TaxonNameBase getPersistentObject(UUID cdmUuid) {
                return CdmStore.getService(INameService.class).load(cdmUuid);
        }
 
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog#initModel()
-        */
        /** {@inheritDoc} */
        @Override
        protected void initModel() {