Revision 7bea8087
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java | ||
---|---|---|
113 | 113 |
} |
114 | 114 |
if(clazz.equals(TeamOrPersonBase.class) && parentElement instanceof AuthorshipDetailElement){ |
115 | 115 |
return (T) NomenclaturalAuthorSelectionDialog.select(shell, //conversation, |
116 |
(AgentBase) currentSelection, false);
|
|
116 |
(TeamOrPersonBase) currentSelection, false);
|
|
117 | 117 |
}else if(clazz.equals(TeamOrPersonBase.class)){ |
118 | 118 |
//TODO: add TeamOrPersonBaseSelectionDialog (see ticket #4545) |
119 |
return (T) AgentSelectionDialog.select(shell, //conversation,
|
|
120 |
(AgentBase) currentSelection, false);
|
|
119 |
return (T) TeamOrPersonBaseSelectionDialog.select(shell, //conversation,
|
|
120 |
(TeamOrPersonBase) currentSelection, false);
|
|
121 | 121 |
} |
122 | 122 |
if(clazz.equals(Person.class) && parentElement instanceof TeamMemberElement){ |
123 | 123 |
return (T) NomenclaturalPersonAuthorSelectionDialog.select(shell, //conversation, |
124 |
(AgentBase) currentSelection, true);
|
|
124 |
(TeamOrPersonBase) currentSelection, true);
|
|
125 | 125 |
} |
126 | 126 |
if(clazz.equals(AgentBase.class)){ |
127 | 127 |
return (T) AgentSelectionDialog.select(shell, //conversation, |
Also available in: Unified diff
ref #4545: add TeamOrPersonSelectionDialog