Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/NomenclaturalAuthorTeamSelectionElement.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import org.eclipse.swt.events.SelectionEvent; |
13 | 13 |
|
14 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
15 | 14 |
import eu.etaxonomy.cdm.model.agent.Team; |
16 | 15 |
import eu.etaxonomy.taxeditor.ui.dialog.selection.NomenclaturalAuthorTeamSelectionDialog; |
17 | 16 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
52 | 51 |
* @param style |
53 | 52 |
* a int. |
54 | 53 |
*/ |
55 |
public NomenclaturalAuthorTeamSelectionElement(CdmFormFactory formFactory, |
|
56 |
ConversationHolder conversation, ICdmFormElement parentElement,
|
|
54 |
public NomenclaturalAuthorTeamSelectionElement(CdmFormFactory formFactory,//ConversationHolder conversation,
|
|
55 |
ICdmFormElement parentElement,
|
|
57 | 56 |
String labelString, Team entity, int mode, int style) { |
58 |
super(formFactory, conversation, parentElement, Team.class, labelString, entity, |
|
57 |
super(formFactory,// conversation, |
|
58 |
parentElement, Team.class, labelString, entity, |
|
59 | 59 |
mode, style); |
60 | 60 |
} |
61 | 61 |
|
... | ... | |
69 | 69 |
@Override |
70 | 70 |
public void widgetSelected(SelectionEvent e) { |
71 | 71 |
Team newSelection = NomenclaturalAuthorTeamSelectionDialog.select( |
72 |
getShell(), getConversationHolder(), entity); |
|
72 |
getShell(), //getConversationHolder(), |
|
73 |
entity); |
|
73 | 74 |
setSelectionInternal(newSelection); |
74 | 75 |
} |
75 | 76 |
} |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog