Revision cbc83794
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.cdm.model.common.ICdmBase; |
22 | 22 |
import eu.etaxonomy.cdm.model.common.User; |
23 | 23 |
import eu.etaxonomy.cdm.model.description.Feature; |
24 |
import eu.etaxonomy.cdm.model.term.FeatureTree; |
|
25 | 24 |
import eu.etaxonomy.cdm.model.description.PolytomousKey; |
26 | 25 |
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode; |
27 | 26 |
import eu.etaxonomy.cdm.model.location.Country; |
... | ... | |
41 | 40 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
42 | 41 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
43 | 42 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
43 |
import eu.etaxonomy.cdm.model.term.FeatureTree; |
|
44 | 44 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
45 | 45 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
46 | 46 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
... | ... | |
176 | 176 |
} |
177 | 177 |
if(clazz.equals(User.class)){ |
178 | 178 |
return (T) UserSelectionDialog.select(shell, //conversation, |
179 |
(User) currentSelection); |
|
179 |
(User) currentSelection, null);
|
|
180 | 180 |
} |
181 | 181 |
if(clazz.equals(GrantedAuthorityImpl.class)){ |
182 | 182 |
return (T) GrantedAuthoritySelectionDialog.select(shell, //conversation, |
... | ... | |
188 | 188 |
} |
189 | 189 |
if(clazz.equals(Group.class)){ |
190 | 190 |
return (T) GroupSelectionDialog.select(shell, //conversation, |
191 |
(Group) currentSelection); |
|
191 |
(Group) currentSelection, null);
|
|
192 | 192 |
} |
193 | 193 |
if(clazz.equals(Institution.class)){ |
194 | 194 |
return (T) InstitutionSelectionDialog.select(shell, //conversation, |
Also available in: Unified diff
fix #8111: filter existing users/groups for member/group selection