Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalPersonAuthorSelectionDialog.java | ||
---|---|---|
12 | 12 |
import org.eclipse.swt.widgets.Shell; |
13 | 13 |
import org.eclipse.swt.widgets.Text; |
14 | 14 |
|
15 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
16 | 15 |
import eu.etaxonomy.cdm.api.service.IAgentService; |
17 | 16 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
18 | 17 |
import eu.etaxonomy.cdm.model.agent.Person; |
... | ... | |
33 | 32 |
* @param settings |
34 | 33 |
* @param agent |
35 | 34 |
*/ |
36 |
protected NomenclaturalPersonAuthorSelectionDialog(Shell shell, ConversationHolder conversation, String title, |
|
35 |
protected NomenclaturalPersonAuthorSelectionDialog(Shell shell, //ConversationHolder conversation, |
|
36 |
String title, |
|
37 | 37 |
boolean multi, String settings, AgentBase agent, boolean teamMemberSelection) { |
38 |
super(shell, conversation, title, multi, settings, agent, teamMemberSelection); |
|
38 |
super(shell, //conversation, |
|
39 |
title, multi, settings, agent, teamMemberSelection); |
|
39 | 40 |
// TODO Auto-generated constructor stub |
40 | 41 |
} |
41 | 42 |
|
... | ... | |
48 | 49 |
* @param entity a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object. |
49 | 50 |
* @return a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object. |
50 | 51 |
*/ |
51 |
public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity, boolean teamMemberSelection) { |
|
52 |
NomenclaturalPersonAuthorSelectionDialog dialog = new NomenclaturalPersonAuthorSelectionDialog(shell, conversation, |
|
52 |
public static AgentBase select(Shell shell, //ConversationHolder conversation, |
|
53 |
AgentBase entity, boolean teamMemberSelection) { |
|
54 |
NomenclaturalPersonAuthorSelectionDialog dialog = new NomenclaturalPersonAuthorSelectionDialog(shell, //conversation, |
|
53 | 55 |
"Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity,teamMemberSelection); |
54 | 56 |
return getSelectionFromDialog(dialog); |
55 | 57 |
} |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog