Project

General

Profile

« Previous | Next » 

Revision 4aa3c52a

Added by Katja Luther over 6 years ago

improve name editor update for navigator operations

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java
323 323
            if(object instanceof TaxonNameEditorE4){
324 324
                TaxonNameEditorE4 taxonEditor = (TaxonNameEditorE4)object;
325 325
                TaxonNode node = taxonEditor.getEditorInput().getTaxonNode();
326
                if(node.treeIndex().startsWith(treeIndex)){
327
                    partService.hidePart(part, true);
326
                if (node.treeIndex()!= null){
327
	                if(node.treeIndex().startsWith(treeIndex)){
328
	                    partService.hidePart(part, true);
329
	                }
330
                }else{
331
                	logger.debug("The taxonnode of taxon " + node.getTaxon().getTitleCache() + " uuid: " + node.getUuid() + " has no treeindex");;
328 332
                }
329 333
            }
330 334
        }

Also available in: Unified diff