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/NomenclaturalReferenceSelectionDialog.java
9 9
import org.eclipse.swt.widgets.Shell;
10 10
import org.eclipse.swt.widgets.Text;
11 11

  
12
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
13 12
import eu.etaxonomy.cdm.api.service.IReferenceService;
14 13
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
15 14
import eu.etaxonomy.cdm.model.reference.Reference;
......
24 23
    private TeamOrPersonBase author;
25 24
    private boolean firstCall = true;
26 25

  
27
	protected NomenclaturalReferenceSelectionDialog(Shell shell,
28
			ConversationHolder conversation, String title, boolean multi,
26
	protected NomenclaturalReferenceSelectionDialog(Shell shell,//ConversationHolder conversation,
27
			 String title, boolean multi,
29 28
			Reference reference, boolean inReference, TeamOrPersonBase author) {
30
		super(shell, conversation, title, multi, reference);
29
		super(shell, //conversation,
30
		        title, multi, reference);
31 31
		this.author = author;
32 32
		firstCall = true;
33 33

  
......
79 79
	 * @return a {@link eu.etaxonomy.cdm.model.reference.ReferenceBase} object.
80 80
	 */
81 81

  
82
	public static Reference select(Shell shell, ConversationHolder conversation, Reference reference, TeamOrPersonBase author) {
83
		NomenclaturalReferenceSelectionDialog dialog = new NomenclaturalReferenceSelectionDialog(shell, conversation,
82
	public static Reference select(Shell shell, //ConversationHolder conversation,
83
	        Reference reference, TeamOrPersonBase author) {
84
		NomenclaturalReferenceSelectionDialog dialog = new NomenclaturalReferenceSelectionDialog(shell,// conversation,
84 85
				"Choose a reference", isInReference, reference, false, author);
85 86
		return getSelectionFromDialog(dialog);
86 87
	}

Also available in: Unified diff