Revision 704648d7
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/MoveFactualDataHandlerE4.java | ||
---|---|---|
104 | 104 |
@CanExecute |
105 | 105 |
private boolean canExecute(@Named(IServiceConstants.ACTIVE_SELECTION)TreeSelection selection, MHandledMenuItem menuItem){ |
106 | 106 |
boolean canExecute = false; |
107 |
menuItem.setVisible(canExecute); |
|
108 | 107 |
canExecute = selection.getFirstElement() instanceof TaxonNode; |
108 |
menuItem.setVisible(canExecute); |
|
109 | 109 |
return canExecute; |
110 | 110 |
} |
111 | 111 |
|
Also available in: Unified diff
ref #6598 Fix menu item visibility