Project

General

Profile

Revision 44f3402d

ID44f3402d88491f48f4c0f1b89281980fcafb48d3
Parent 0eccefea
Child 7ef1ca71

Added by Katja Luther 8 months ago

fix open classification handler

View differences:

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

Add picture from clipboard (Maximum size: 40 MB)