Revision 44f3402d
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/defaultHandler/e4/DefaultOpenClassificationWizardHandlerE4.java | ||
---|---|---|
31 | 31 |
*/ |
32 | 32 |
@Override |
33 | 33 |
protected boolean canExecute(IStructuredSelection entity) { |
34 |
return true; |
|
34 |
// return true; |
|
35 |
if (entity.getFirstElement() instanceof TaxonNodeDto){ |
|
36 |
return ((TaxonNodeDto)entity.getFirstElement()).getTaxonUuid() == null; |
|
37 |
} |
|
38 |
return false; |
|
35 | 39 |
// return entity.getClassification().getRootNode().equals(entity); |
36 | 40 |
} |
37 | 41 |
|
Also available in: Unified diff
fix open classification handler