Merge branch 'move-to-luna' into remoting-4.0
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / descriptive / operation / DeleteTaxonDescriptionOperation.java
index 5a6cebd41ada0fb17b00e2184025bbf119f9adbc..c9eaff971282d436c2975ffc5e4200d85906c1ea 100644 (file)
@@ -22,6 +22,7 @@ import eu.etaxonomy.cdm.api.service.IDescriptionService;
 import eu.etaxonomy.cdm.model.description.TaxonDescription;
 import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
 import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
+import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 /**
@@ -44,9 +45,12 @@ public class DeleteTaxonDescriptionOperation extends AbstractPostTaxonOperation
         * @param description a {@link eu.etaxonomy.cdm.model.description.TaxonDescription} object.
         * @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operation.IPostOperationEnabled} object.
         */
-       public DeleteTaxonDescriptionOperation(String label, IUndoContext undoContext,
-                       TaxonDescription description, IPostOperationEnabled postOperationEnabled) {
-               super(label, undoContext, postOperationEnabled);
+       public DeleteTaxonDescriptionOperation(String label,
+               IUndoContext undoContext,
+                       TaxonDescription description,
+                       IPostOperationEnabled postOperationEnabled,
+                       ICdmEntitySessionEnabled cdmEntitySessionEnabled) {
+               super(label, undoContext, postOperationEnabled, cdmEntitySessionEnabled);
 
                this.description = description;
                element = description.getTaxon();
@@ -69,7 +73,7 @@ public class DeleteTaxonDescriptionOperation extends AbstractPostTaxonOperation
                        return postExecute(description);
                }
                return null;
-               
+
        }
 
        /* (non-Javadoc)