Project

General

Profile

« Previous | Next » 

Revision 720b900a

Added by Katja Luther over 7 years ago

fix #5977: create a new teammember should allow only persons

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalAuthorSelectionDialog.java
41 41
     * @param agent
42 42
     */
43 43
    protected NomenclaturalAuthorSelectionDialog(Shell shell, ConversationHolder conversation, String title,
44
            boolean multi, String settings, AgentBase agent) {
45
        super(shell, conversation, title, multi, settings, agent);
44
            boolean multi, String settings, AgentBase agent, boolean teamMemberSelection) {
45
        super(shell, conversation, title, multi, settings, agent, teamMemberSelection);
46 46
        // TODO Auto-generated constructor stub
47 47
    }
48 48

  
......
80 80
     * @param entity a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
81 81
     * @return a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
82 82
     */
83
    public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity) {
83
    public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity, boolean teamMemberSelection) {
84 84
        NomenclaturalAuthorSelectionDialog dialog = new NomenclaturalAuthorSelectionDialog(shell, conversation,
85
                "Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity);
85
                "Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity, teamMemberSelection);
86 86
        return getSelectionFromDialog(dialog);
87 87
    }
88 88

  

Also available in: Unified diff