Project

General

Profile

« Previous | Next » 

Revision ebc3fa35

Added by Katja Luther about 8 years ago

minor

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/RemotingDeleteTaxonNodeHandler.java
88 88
        if (treeNodes.size() == 1 ){
89 89
        	ITaxonTreeNode treeNode = treeNodes.iterator().next();
90 90
            ITaxonTreeNode taxonNode = treeNode;
91
            taxonNode = CdmApplicationState.getCurrentAppConfig().getTaxonNodeService().load(taxonNode.getUuid());
91
            if (taxonNode instanceof Classification){
92
                taxonNode = CdmApplicationState.getCurrentAppConfig().getClassificationService().load(taxonNode.getUuid());
93
            }else{
94
                taxonNode = CdmApplicationState.getCurrentAppConfig().getTaxonNodeService().load(taxonNode.getUuid());
95
            }
92 96
            if (taxonNode == null){
93 97
            	MessagingUtils.informationDialog("Node already deleted", "The taxon node was already deleted. Please reopen the taxon navigator to refresh the view.");
94 98
            	return Status.CANCEL_STATUS;
95
                
99

  
96 100
            }
97 101
            TaxonNodeDeletionConfigurator configNodes = new TaxonNodeDeletionConfigurator();
98 102
            if (taxonNode instanceof Classification && taxonNode.hasChildNodes()){

Also available in: Unified diff