Revision 0caafa75
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/TaxonNodeSelectionDialog.java | ||
---|---|---|
36 | 36 |
*/ |
37 | 37 |
public class TaxonNodeSelectionDialog extends AbstractFilteredCdmResourceSelectionDialog<TaxonNode> implements SelectionListener{ |
38 | 38 |
|
39 |
public static TaxonNode select(Shell shell, //ConversationHolder conversation,
|
|
39 |
public static TaxonNode select(Shell shell, |
|
40 | 40 |
String title, Set<UUID> excludeTaxa, TaxonNode node, UUID classificationUUID, boolean allowSelectClassification) { |
41 | 41 |
TaxonNodeSelectionDialog dialog = new TaxonNodeSelectionDialog(shell, |
42 | 42 |
//conversation, |
... | ... | |
47 | 47 |
classificationUUID, allowSelectClassification); |
48 | 48 |
return getSelectionFromDialog(dialog); |
49 | 49 |
} |
50 |
public static TaxonNode select(Shell shell, //ConversationHolder conversation,
|
|
50 |
public static TaxonNode select(Shell shell, |
|
51 | 51 |
String title, Set<UUID> excludeTaxa, TaxonNode node, UUID classificationUUID) { |
52 | 52 |
TaxonNodeSelectionDialog dialog = new TaxonNodeSelectionDialog(shell, |
53 | 53 |
//conversation, |
... | ... | |
59 | 59 |
return getSelectionFromDialog(dialog); |
60 | 60 |
} |
61 | 61 |
|
62 |
public static UuidAndTitleCache<TaxonNode> selectUuidAndTitleCache(Shell shell, //ConversationHolder conversation,
|
|
62 |
public static UuidAndTitleCache<TaxonNode> selectUuidAndTitleCache(Shell shell, |
|
63 | 63 |
String title, Set<UUID> excludeTaxa, TaxonNode node, UUID classificationUUID) { |
64 | 64 |
TaxonNodeSelectionDialog dialog = new TaxonNodeSelectionDialog(shell, |
65 | 65 |
//conversation, |
... | ... | |
80 | 80 |
// private final Set<UUID> excludeTaxa; |
81 | 81 |
private boolean allowClassificationSelection = false; |
82 | 82 |
|
83 |
protected TaxonNodeSelectionDialog(Shell shell, //ConversationHolder conversation,
|
|
83 |
protected TaxonNodeSelectionDialog(Shell shell, |
|
84 | 84 |
String title, Set<UUID> excludeTaxa, boolean multi, TaxonNode node, UUID classificationUUID, boolean allowSelectClassification) { |
85 | 85 |
super(shell, //conversation, |
86 | 86 |
title, multi, TaxonNodeSelectionDialog.class.getCanonicalName(), node); |
... | ... | |
99 | 99 |
|
100 | 100 |
//createClassificationSelectionCombo(shell); |
101 | 101 |
} |
102 |
protected TaxonNodeSelectionDialog(Shell shell, //ConversationHolder conversation,
|
|
102 |
protected TaxonNodeSelectionDialog(Shell shell, |
|
103 | 103 |
String title, Set<UUID> excludeTaxa, boolean multi, TaxonNode node, UUID classificationUUID) { |
104 | 104 |
this(shell, title, excludeTaxa, multi, node, classificationUUID, false); |
105 | 105 |
} |
Also available in: Unified diff
ref #10186 further remove ConversationHolder and cleanup