added cdm entitysession enabled objects to operations
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / descriptive / operation / DeleteSpecimenDescriptionOperation.java
index 6b5b7f6ecd5c9f38985d63d553823499d89999b5..4f2a465509a71327322ac7fef6760b65b80bf8e2 100644 (file)
@@ -20,6 +20,7 @@ import eu.etaxonomy.cdm.model.description.SpecimenDescription;
 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
 import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
 import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
+import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 /**
@@ -32,9 +33,12 @@ public class DeleteSpecimenDescriptionOperation extends AbstractPostOperation<Sp
 
        private final SpecimenDescription description;
 
-       public DeleteSpecimenDescriptionOperation(String label, IUndoContext undoContext,
-               SpecimenDescription description, IPostOperationEnabled postOperationEnabled) {
-               super(label, undoContext, description.getDescribedSpecimenOrObservation(), postOperationEnabled);
+       public DeleteSpecimenDescriptionOperation(String label,
+               IUndoContext undoContext,
+               SpecimenDescription description,
+               IPostOperationEnabled postOperationEnabled,
+               ICdmEntitySessionEnabled cdmEntitySessionEnabled) {
+               super(label, undoContext, description.getDescribedSpecimenOrObservation(), postOperationEnabled, cdmEntitySessionEnabled);
                this.description = description;
        }