fix #6437 Generate title caches to avoid outdated information
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / selection / NomenclaturalAuthorTeamSelectionElement.java
index d516eaef4878ff6c68a6d81bf394258cdaea1e0d..e661c7aae2c97f11a4462d372ffc68b7865abc7f 100644 (file)
@@ -1,9 +1,8 @@
-// $Id$
 /**
  * Copyright (C) 2007 EDIT
- * European Distributed Institute of Taxonomy 
+ * European Distributed Institute of Taxonomy
  * http://www.e-taxonomy.eu
- * 
+ *
  * The contents of this file are subject to the Mozilla Public License Version 1.1
  * See LICENSE.TXT at the top of this package for the full license terms.
  */
@@ -12,17 +11,16 @@ 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.campanula.compatibility.ICdmFormElement;
 import eu.etaxonomy.taxeditor.ui.dialog.selection.NomenclaturalAuthorTeamSelectionDialog;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
 
 /**
  * <p>
  * NomenclaturalAuthorTeamSelectionElement class.
  * </p>
- * 
+ *
  * @author n.hoffmann
  * @created Jun 22, 2010
  * @version 1.0
@@ -36,7 +34,7 @@ public class NomenclaturalAuthorTeamSelectionElement extends
         * <p>
         * Constructor for NomenclaturalAuthorTeamSelectionElement.
         * </p>
-        * 
+        *
         * @param formFactory
         *            a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
         *            object.
@@ -53,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, labelString, entity,
+               super(formFactory,// conversation,
+                       parentElement, Team.class, labelString, entity,
                                mode, style);
        }
 
@@ -70,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);
        }
 }