Revision 040d6554
Added by Patrick Plitzner over 9 years ago
- added possibility to also add a person as nomenclatural author (fixes #4301)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java | ||
---|---|---|
16 | 16 |
import eu.etaxonomy.cdm.model.agent.Institution; |
17 | 17 |
import eu.etaxonomy.cdm.model.agent.Person; |
18 | 18 |
import eu.etaxonomy.cdm.model.agent.Team; |
19 |
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase; |
|
19 | 20 |
import eu.etaxonomy.cdm.model.common.GrantedAuthorityImpl; |
20 | 21 |
import eu.etaxonomy.cdm.model.common.Group; |
21 | 22 |
import eu.etaxonomy.cdm.model.common.ICdmBase; |
... | ... | |
72 | 73 |
if(clazz.equals(Team.class)){ |
73 | 74 |
return (T) TeamSelectionDialog.select(shell, conversation, (Team) currentSelection); |
74 | 75 |
} |
76 |
if(clazz.equals(TeamOrPersonBase.class)){ |
|
77 |
//TODO: add TeamOrPersonBaseSelectionDialog (see ticket #4545) |
|
78 |
return (T) AgentSelectionDialog.select(shell, conversation, (AgentBase) currentSelection); |
|
79 |
} |
|
75 | 80 |
if(clazz.equals(AgentBase.class)){ |
76 | 81 |
return (T) AgentSelectionDialog.select(shell, conversation, (AgentBase) currentSelection); |
77 | 82 |
} |
Also available in: Unified diff