Revision 16b736f1
Added by Katja Luther about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalReferenceSelectionDialog.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
protected NomenclaturalReferenceSelectionDialog(Shell shell, |
24 | 24 |
ConversationHolder conversation, String title, boolean multi, |
25 |
Reference reference) { |
|
25 |
Reference reference, boolean inReference) {
|
|
26 | 26 |
super(shell, conversation, title, multi, reference); |
27 | 27 |
// TODO Auto-generated constructor stub |
28 | 28 |
} |
... | ... | |
66 | 66 |
|
67 | 67 |
public static Reference select(Shell shell, ConversationHolder conversation, Reference reference) { |
68 | 68 |
NomenclaturalReferenceSelectionDialog dialog = new NomenclaturalReferenceSelectionDialog(shell, conversation, |
69 |
"Choose a reference", false, reference);
|
|
69 |
"Choose a reference", isInReference, reference, false);
|
|
70 | 70 |
return getSelectionFromDialog(dialog); |
71 | 71 |
} |
72 | 72 |
|
Also available in: Unified diff
ref #1606: for inReferences use service methods filtering for the right referencetype