Revision c4dcde9b
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/RemoveBasionymHandler.java | ||
---|---|---|
45 | 45 |
TaxonNameEditor editor = (TaxonNameEditor) EditorUtil.getActiveEditorPage( |
46 | 46 |
Page.NAME); |
47 | 47 |
|
48 |
IStructuredSelection selection = (IStructuredSelection) HandlerUtil.getActiveMenuSelection(event);
|
|
48 |
IStructuredSelection selection = (IStructuredSelection) HandlerUtil.getCurrentSelection(event);
|
|
49 | 49 |
|
50 | 50 |
TaxonBase selectedTaxonBase = (TaxonBase) selection.getFirstElement(); |
51 | 51 |
|
Also available in: Unified diff
Removed all calls to active menu selection (fixes #1106)