Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/InstitutionSelectionDialog.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.AgentBase; |
19 | 18 |
import eu.etaxonomy.cdm.model.agent.Institution; |
... | ... | |
29 | 28 |
public class InstitutionSelectionDialog extends |
30 | 29 |
AbstractFilteredCdmResourceSelectionDialog<Institution> { |
31 | 30 |
|
32 |
public static Institution select(Shell shell, ConversationHolder conversation, Institution institution){ |
|
33 |
InstitutionSelectionDialog dialog = new InstitutionSelectionDialog(shell, conversation, |
|
31 |
public static Institution select(Shell shell,// ConversationHolder conversation, |
|
32 |
Institution institution){ |
|
33 |
InstitutionSelectionDialog dialog = new InstitutionSelectionDialog(shell, //conversation, |
|
34 | 34 |
"Choose Institution", false, TeamSelectionDialog.class.getCanonicalName(), institution); |
35 | 35 |
return getSelectionFromDialog(dialog); |
36 | 36 |
} |
... | ... | |
43 | 43 |
* @param settings |
44 | 44 |
* @param cdmObject |
45 | 45 |
*/ |
46 |
protected InstitutionSelectionDialog(Shell shell, |
|
47 |
ConversationHolder conversation, String title, boolean multi,
|
|
46 |
protected InstitutionSelectionDialog(Shell shell,//ConversationHolder conversation,
|
|
47 |
String title, boolean multi,
|
|
48 | 48 |
String settings, Institution cdmObject) { |
49 |
super(shell, conversation, title, multi, settings, cdmObject); |
|
49 |
super(shell, //conversation, |
|
50 |
title, multi, settings, cdmObject); |
|
50 | 51 |
} |
51 | 52 |
|
52 | 53 |
/* (non-Javadoc) |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog