Revision 69e82edd
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/NewClassificationHandlerE4.java | ||
---|---|---|
47 | 47 |
private boolean canExecute(MHandledMenuItem menuItem){ |
48 | 48 |
boolean canExecute = false; |
49 | 49 |
|
50 |
canExecute = TaxonNodePropertyTester.noClassifiactionExists() || !PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.DISABLE_MULTI_CLASSIFICATION);
|
|
50 |
canExecute = TaxonNodePropertyTester.noClassifiactionExists() || !PreferencesUtil.getBooleanValue(IPreferenceKeys.DISABLE_MULTI_CLASSIFICATION);
|
|
51 | 51 |
menuItem.setVisible(canExecute); |
52 | 52 |
return canExecute; |
53 | 53 |
} |
Also available in: Unified diff
local preferences database specific