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
;
15 public class DeleteTaxonBaseOperation
extends AbstractPersistentPostOperation
{
17 protected TaxonDeletionConfigurator configurator
;
19 public DeleteTaxonBaseOperation(String label
, IUndoContext undoContext
,
20 TaxonDeletionConfigurator configurator
, IWorkbenchPage activePage
, IPostOperationEnabled postOperationEnabled
, IConversationEnabled conversationEnabled
) {
21 super(label
, undoContext
, postOperationEnabled
,
23 this.configurator
= configurator
;
28 public IStatus
execute(IProgressMonitor monitor
, IAdaptable info
)
29 throws ExecutionException
{
30 // TODO Auto-generated method stub
35 public IStatus
redo(IProgressMonitor monitor
, IAdaptable info
)
36 throws ExecutionException
{
37 // TODO Auto-generated method stub
42 public IStatus
undo(IProgressMonitor monitor
, IAdaptable info
)
43 throws ExecutionException
{
44 // TODO Auto-generated method stub