Revision aeb80bf1
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalPersonAuthorSelectionDialog.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.ui.dialog.selection; |
10 | 10 |
|
11 |
import java.util.List; |
|
12 |
|
|
11 | 13 |
import org.eclipse.swt.widgets.Shell; |
12 | 14 |
|
13 | 15 |
import eu.etaxonomy.cdm.api.service.IAgentService; |
... | ... | |
51 | 53 |
TeamOrPersonBase entity, boolean teamMemberSelection) { |
52 | 54 |
NomenclaturalPersonAuthorSelectionDialog dialog = new NomenclaturalPersonAuthorSelectionDialog(shell, //conversation, |
53 | 55 |
"Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity,teamMemberSelection); |
54 |
return (TeamOrPersonBase)getSelectionFromDialog(dialog);
|
|
56 |
return getSelectionFromDialog(dialog); |
|
55 | 57 |
} |
56 | 58 |
|
57 | 59 |
@Override |
58 | 60 |
protected void callService(String pattern) { |
59 |
model = CdmStore.getService(IAgentService.class).getUuidAndAbbrevTitleCache(Person.class, limitOfInitialElements, pattern); |
|
61 |
model = (List)CdmStore.getService(IAgentService.class).getUuidAndAbbrevTitleCache(Person.class, limitOfInitialElements, pattern);
|
|
60 | 62 |
} |
61 | 63 |
|
62 | 64 |
} |
Also available in: Unified diff
cleanup