fix multiple representation by removing conversation of selection dialog
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / selection / NomenclaturalAuthorTeamSelectionElement.java
index 94b0beaf0122f80fa0d7645cf7fa15ca556aa848..e661c7aae2c97f11a4462d372ffc68b7865abc7f 100644 (file)
@@ -11,7 +11,6 @@ package eu.etaxonomy.taxeditor.ui.selection;
 
 import org.eclipse.swt.events.SelectionEvent;
 
-import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
 import eu.etaxonomy.cdm.model.agent.Team;
 import eu.etaxonomy.taxeditor.ui.dialog.selection.NomenclaturalAuthorTeamSelectionDialog;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
@@ -52,10 +51,11 @@ public class NomenclaturalAuthorTeamSelectionElement extends
         * @param style
         *            a int.
         */
-       public NomenclaturalAuthorTeamSelectionElement(CdmFormFactory formFactory,
-                       ConversationHolder conversation, ICdmFormElement parentElement,
+       public NomenclaturalAuthorTeamSelectionElement(CdmFormFactory formFactory,//ConversationHolder conversation,
+               ICdmFormElement parentElement,
                        String labelString, Team entity, int mode, int style) {
-               super(formFactory, conversation, parentElement, Team.class, labelString, entity,
+               super(formFactory,// conversation,
+                       parentElement, Team.class, labelString, entity,
                                mode, style);
        }
 
@@ -69,7 +69,8 @@ public class NomenclaturalAuthorTeamSelectionElement extends
        @Override
        public void widgetSelected(SelectionEvent e) {
                Team newSelection = NomenclaturalAuthorTeamSelectionDialog.select(
-                               getShell(), getConversationHolder(), entity);
+                               getShell(), //getConversationHolder(),
+                               entity);
                setSelectionInternal(newSelection);
        }
 }