Project

General

Profile

« Previous | Next » 

Revision f5979052

Added by Katja Luther over 6 years ago

fix multiple representation by removing conversation of selection dialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalAuthorSelectionDialog.java
19 19
import org.eclipse.swt.widgets.Shell;
20 20
import org.eclipse.swt.widgets.Text;
21 21

  
22
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
23 22
import eu.etaxonomy.cdm.api.service.IAgentService;
24 23
import eu.etaxonomy.cdm.model.agent.AgentBase;
25 24
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
......
47 46
     * @param settings
48 47
     * @param agent
49 48
     */
50
    protected NomenclaturalAuthorSelectionDialog(Shell shell, ConversationHolder conversation, String title,
49
    protected NomenclaturalAuthorSelectionDialog(Shell shell, //ConversationHolder conversation,
50
            String title,
51 51
            boolean multi, String settings, AgentBase agent, boolean teamMemberSelection) {
52
        super(shell, conversation, title, multi, settings, agent, teamMemberSelection);
52
        super(shell, //conversation,
53
                title, multi, settings, agent, teamMemberSelection);
53 54
        // TODO Auto-generated constructor stub
54 55
    }
55 56

  
......
98 99
     * @param entity a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
99 100
     * @return a {@link eu.etaxonomy.cdm.model.agent.AgentBase} object.
100 101
     */
101
    public static AgentBase select(Shell shell, ConversationHolder conversation, AgentBase entity, boolean teamMemberSelection) {
102
        NomenclaturalAuthorSelectionDialog dialog = new NomenclaturalAuthorSelectionDialog(shell, conversation,
102
    public static AgentBase select(Shell shell, //ConversationHolder conversation,
103
            AgentBase entity, boolean teamMemberSelection) {
104
        NomenclaturalAuthorSelectionDialog dialog = new NomenclaturalAuthorSelectionDialog(shell, //conversation,
103 105
                "Choose Agent", false, NomenclaturalAuthorSelectionDialog.class.getCanonicalName(), entity, teamMemberSelection);
104 106
        return getSelectionFromDialog(dialog);
105 107
    }

Also available in: Unified diff