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/UserSelectionDialog.java
15 15

  
16 16
import org.eclipse.swt.widgets.Shell;
17 17

  
18
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
19 18
import eu.etaxonomy.cdm.api.service.IUserService;
20 19
import eu.etaxonomy.cdm.model.common.User;
21 20
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
......
38 37
	 * @param user
39 38
	 * @return
40 39
	 */
41
	public static User select(Shell shell, ConversationHolder conversation, User user){
42
		UserSelectionDialog dialog = new UserSelectionDialog(shell, conversation,
40
	public static User select(Shell shell, //ConversationHolder conversation,
41
	        User user){
42
		UserSelectionDialog dialog = new UserSelectionDialog(shell, //conversation,
43 43
				"Choose User", false, UserSelectionDialog.class.getCanonicalName(), user);
44 44
		return getSelectionFromDialog(dialog);
45 45
	}
......
52 52
	 * @param settings
53 53
	 * @param cdmObject
54 54
	 */
55
	protected UserSelectionDialog(Shell shell, ConversationHolder conversation,
55
	protected UserSelectionDialog(Shell shell, //ConversationHolder conversation,
56 56
			String title, boolean multi, String settings, User cdmObject) {
57
		super(shell, conversation, title, multi, settings, cdmObject);
57
		super(shell, //conversation,
58
		        title, multi, settings, cdmObject);
58 59
	}
59 60

  
60 61
	/* (non-Javadoc)

Also available in: Unified diff