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/NomenclaturalPersonAuthorSelectionDialog.java
35 35
     * @param agent
36 36
     */
37 37
    protected NomenclaturalPersonAuthorSelectionDialog(Shell shell, ConversationHolder conversation, String title,
38
            boolean multi, String settings, AgentBase agent) {
39
        super(shell, conversation, title, multi, settings, agent);
38
            boolean multi, String settings, AgentBase agent, boolean teamMemberSelection) {
39
        super(shell, conversation, title, multi, settings, agent, teamMemberSelection);
40 40
        // TODO Auto-generated constructor stub
41 41
    }
42 42

  
......
49 49
     * @param entity a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
50 50
     * @return a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
51 51
     */
52
    public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity) {
52
    public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity, boolean teamMemberSelection) {
53 53
        NomenclaturalPersonAuthorSelectionDialog dialog = new NomenclaturalPersonAuthorSelectionDialog(shell, conversation,
54
                "Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity);
54
                "Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity,teamMemberSelection);
55 55
        return getSelectionFromDialog(dialog);
56 56
    }
57 57

  

Also available in: Unified diff