Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/TeamSelectionDialog.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
import org.eclipse.swt.widgets.Shell; |
15 | 15 |
|
16 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
17 | 16 |
import eu.etaxonomy.cdm.api.service.IAgentService; |
18 | 17 |
import eu.etaxonomy.cdm.model.agent.Team; |
19 | 18 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
... | ... | |
39 | 38 |
* @param team a {@link eu.etaxonomy.cdm.model.agent.Team} object. |
40 | 39 |
* @return a {@link eu.etaxonomy.cdm.model.agent.Team} object. |
41 | 40 |
*/ |
42 |
public static Team select(Shell shell, ConversationHolder conversation, Team team){ |
|
43 |
TeamSelectionDialog dialog = new TeamSelectionDialog(shell, conversation, |
|
41 |
public static Team select(Shell shell, //ConversationHolder conversation, |
|
42 |
Team team){ |
|
43 |
TeamSelectionDialog dialog = new TeamSelectionDialog(shell, //conversation, |
|
44 | 44 |
"Choose Team", false, TeamSelectionDialog.class.getCanonicalName(), team); |
45 | 45 |
return getSelectionFromDialog(dialog); |
46 | 46 |
} |
... | ... | |
55 | 55 |
* @param cdmObject a {@link eu.etaxonomy.cdm.model.agent.Team} object. |
56 | 56 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
57 | 57 |
*/ |
58 |
protected TeamSelectionDialog(Shell shell, ConversationHolder conversation, |
|
58 |
protected TeamSelectionDialog(Shell shell, //ConversationHolder conversation,
|
|
59 | 59 |
String title, boolean multi, String settings, |
60 | 60 |
Team cdmObject) { |
61 |
super(shell, conversation, title, multi, settings, cdmObject); |
|
61 |
super(shell, //conversation, |
|
62 |
title, multi, settings, cdmObject); |
|
62 | 63 |
} |
63 | 64 |
|
64 | 65 |
/* (non-Javadoc) |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog