-// $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.
*/
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
* <p>
* Constructor for NomenclaturalAuthorTeamSelectionElement.
* </p>
- *
+ *
* @param formFactory
* a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
* object.
* @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);
}
@Override
public void widgetSelected(SelectionEvent e) {
Team newSelection = NomenclaturalAuthorTeamSelectionDialog.select(
- getShell(), getConversationHolder(), entity);
+ getShell(), //getConversationHolder(),
+ entity);
setSelectionInternal(newSelection);
}
}