Revision 7e2ba2db
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java | ||
---|---|---|
91 | 91 |
protected ReferenceSelectionDialog(Shell shell, //ConversationHolder conversation, |
92 | 92 |
String title, boolean multi, Reference reference) { |
93 | 93 |
super(shell, //conversation, |
94 |
title, multi, ReferenceSelectionDialog.class.getCanonicalName(), null);
|
|
94 |
title, multi, ReferenceSelectionDialog.class.getCanonicalName(), reference);
|
|
95 | 95 |
this.currentReference = reference; |
96 | 96 |
|
97 | 97 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElement.java | ||
---|---|---|
218 | 218 |
public void widgetSelected(SelectionEvent e) { |
219 | 219 |
if (e.getSource().equals(button_selection) ){ |
220 | 220 |
T selection = SelectionDialogFactory.getSelectionFromDialog(clazz, getShell(), //getConversationHolder(), |
221 |
getFilteredEntity(), getParentElement());
|
|
221 |
getEntity(), getParentElement()); |
|
222 | 222 |
setSelectionInternal(selection); |
223 | 223 |
}else{ |
224 | 224 |
Reference selection = SelectionDialogFactory.getSelectionFromExtDialog(Reference.class, getShell(),//null, |
Also available in: Unified diff
fix selection dialog after last changes