Revision 2bef172d
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/SetBasionymHandlerE4.java | ||
---|---|---|
57 | 57 |
boolean canExecute = false; |
58 | 58 |
if(selection.size()==1){ |
59 | 59 |
Object selectedElement = selection.getFirstElement(); |
60 |
canExecute = NameEditorMenuPropertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms(selectedElement); |
|
60 |
canExecute = NameEditorMenuPropertyTester.isSynonymOrTaxonInHomotypicalGroupWithMoreSynonyms(selectedElement);
|
|
61 | 61 |
} |
62 | 62 |
menuItem.setVisible(canExecute); |
63 | 63 |
return canExecute; |
Also available in: Unified diff
fix #8918: setBasionym also for accepted taxon