1 package eu
.etaxonomy
.taxeditor
.editor
.name
.operation
;
3 import org
.eclipse
.core
.commands
.ExecutionException
;
4 import org
.eclipse
.core
.commands
.operations
.IUndoContext
;
5 import org
.eclipse
.core
.runtime
.IAdaptable
;
6 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
7 import org
.eclipse
.core
.runtime
.IStatus
;
8 import org
.eclipse
.ui
.IWorkbenchPage
;
10 import eu
.etaxonomy
.cdm
.api
.conversation
.IConversationEnabled
;
11 import eu
.etaxonomy
.cdm
.api
.service
.config
.TaxonDeletionConfigurator
;
12 import eu
.etaxonomy
.taxeditor
.operation
.AbstractPersistentPostOperation
;
13 import eu
.etaxonomy
.taxeditor
.operation
.IPostOperationEnabled
;
14 import eu
.etaxonomy
.taxeditor
.session
.ICdmEntitySessionEnabled
;
16 public class DeleteTaxonBaseOperation
extends AbstractPersistentPostOperation
{
18 protected TaxonDeletionConfigurator configurator
;
20 public DeleteTaxonBaseOperation(String label
,
21 IUndoContext undoContext
,
22 TaxonDeletionConfigurator configurator
,
23 IWorkbenchPage activePage
,
24 IPostOperationEnabled postOperationEnabled
,
25 IConversationEnabled conversationEnabled
,
26 ICdmEntitySessionEnabled cdmEntitySessionEnabled
) {
27 super(label
, undoContext
, postOperationEnabled
, conversationEnabled
, cdmEntitySessionEnabled
);
28 this.configurator
= configurator
;
33 public IStatus
execute(IProgressMonitor monitor
, IAdaptable info
)
34 throws ExecutionException
{
35 // TODO Auto-generated method stub
40 public IStatus
redo(IProgressMonitor monitor
, IAdaptable info
)
41 throws ExecutionException
{
42 // TODO Auto-generated method stub
47 public IStatus
undo(IProgressMonitor monitor
, IAdaptable info
)
48 throws ExecutionException
{
49 // TODO Auto-generated method stub