Project

General

Profile

Revision fb2eefea

IDfb2eefea41ef24f5355b7dee07359767067f6427
Parent 4046cae7
Child eb00c1c9

Added by Andreas Müller over 7 years ago

minor

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/DeleteOperation.java
19 19
import org.eclipse.core.runtime.IStatus;
20 20

  
21 21
import eu.etaxonomy.cdm.api.application.CdmApplicationController;
22
import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;
22 23
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
23 24
import eu.etaxonomy.cdm.api.service.IClassificationService;
24 25
import eu.etaxonomy.cdm.api.service.ITaxonService;
......
75 76
        for (ITaxonTreeNode treeNode : treeNodes){
76 77
			if(treeNode instanceof TaxonNode){
77 78
				//((TaxonNode) treeNode).delete();
78
				CdmApplicationController controller;
79

  
79 80
				taxon = ((TaxonNode) treeNode).getTaxon();
80
				controller = (CdmApplicationController) CdmStore.getCurrentApplicationConfiguration();
81
				ICdmApplicationConfiguration controller = CdmStore.getCurrentApplicationConfiguration();
81 82
				
82 83
				ITaxonService service = controller.getTaxonService();
83 84
				try {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)