Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/GroupSelectionDialog.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.IGroupService; |
20 | 19 |
import eu.etaxonomy.cdm.model.common.Group; |
21 | 20 |
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache; |
... | ... | |
31 | 30 |
public class GroupSelectionDialog extends |
32 | 31 |
AbstractFilteredCdmResourceSelectionDialog<Group> { |
33 | 32 |
|
34 |
public static Group select(Shell shell, ConversationHolder conversation, Group group){ |
|
35 |
GroupSelectionDialog dialog = new GroupSelectionDialog(shell, conversation, |
|
33 |
public static Group select(Shell shell, //ConversationHolder conversation, |
|
34 |
Group group){ |
|
35 |
GroupSelectionDialog dialog = new GroupSelectionDialog(shell, //conversation, |
|
36 | 36 |
"Choose Group", false, GroupSelectionDialog.class.getCanonicalName(), group); |
37 | 37 |
return getSelectionFromDialog(dialog); |
38 | 38 |
} |
... | ... | |
45 | 45 |
* @param settings |
46 | 46 |
* @param cdmObject |
47 | 47 |
*/ |
48 |
protected GroupSelectionDialog(Shell shell, |
|
49 |
ConversationHolder conversation, String title, boolean multi,
|
|
48 |
protected GroupSelectionDialog(Shell shell,//ConversationHolder conversation,
|
|
49 |
String title, boolean multi,
|
|
50 | 50 |
String settings, Group cdmObject) { |
51 |
super(shell, conversation, title, multi, settings, cdmObject); |
|
51 |
super(shell, //conversation, |
|
52 |
title, multi, settings, cdmObject); |
|
52 | 53 |
} |
53 | 54 |
|
54 | 55 |
/* (non-Javadoc) |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog