Revision 0caafa75
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalPersonAuthorSelectionDialog.java | ||
---|---|---|
19 | 19 |
/** |
20 | 20 |
* @author k.luther |
21 | 21 |
* @date 21.06.2016 |
22 |
* |
|
23 | 22 |
*/ |
24 | 23 |
public class NomenclaturalPersonAuthorSelectionDialog extends PersonSelectionDialog { |
25 | 24 |
|
26 |
/** |
|
27 |
* @param shell |
|
28 |
* @param conversation |
|
29 |
* @param title |
|
30 |
* @param multi |
|
31 |
* @param settings |
|
32 |
* @param agent |
|
33 |
*/ |
|
34 |
protected NomenclaturalPersonAuthorSelectionDialog(Shell shell, //ConversationHolder conversation, |
|
25 |
protected NomenclaturalPersonAuthorSelectionDialog(Shell shell, |
|
35 | 26 |
String title, boolean multi, |
36 | 27 |
String settings, Person agent) { |
37 |
super(shell, //conversation, |
|
38 |
title, multi, settings, agent); |
|
39 |
// TODO Auto-generated constructor stub |
|
28 |
super(shell, title, multi, settings, agent); |
|
40 | 29 |
} |
41 | 30 |
|
42 |
|
|
43 |
/** |
|
44 |
* <p>select</p> |
|
45 |
* |
|
46 |
* @param shell a {@link org.eclipse.swt.widgets.Shell} object. |
|
47 |
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object. |
|
48 |
* @param entity a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object. |
|
49 |
* @return a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object. |
|
50 |
*/ |
|
51 |
public static Person select(Shell shell, //ConversationHolder conversation, |
|
31 |
public static Person select(Shell shell, |
|
52 | 32 |
Person entity, boolean teamMemberSelection) { |
53 | 33 |
NomenclaturalPersonAuthorSelectionDialog dialog = new NomenclaturalPersonAuthorSelectionDialog(shell, |
54 | 34 |
"Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity); |
... | ... | |
59 | 39 |
protected void callService(String pattern) { |
60 | 40 |
model = (List)CdmStore.getService(IAgentService.class).getUuidAndAbbrevTitleCache(Person.class, limitOfInitialElements, pattern); |
61 | 41 |
} |
62 |
|
|
63 |
} |
|
42 |
} |
Also available in: Unified diff
ref #10186 further remove ConversationHolder and cleanup