Project

General

Profile

Download (1.93 KB) Statistics
| Branch: | Tag: | Revision:
1
package eu.etaxonomy.taxeditor.editor.name.operation;
2

    
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;
9

    
10
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
11
import eu.etaxonomy.cdm.api.service.DeleteResult;
12
import eu.etaxonomy.cdm.api.service.config.TaxonBaseDeletionConfigurator;
13
import eu.etaxonomy.taxeditor.operation.AbstractPersistentPostOperation;
14
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
15
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled;
16

    
17
public class DeleteTaxonBaseOperation extends AbstractPersistentPostOperation {
18

    
19
	protected TaxonBaseDeletionConfigurator configurator;
20
	protected DeleteResult result;
21

    
22
	public DeleteTaxonBaseOperation(String label,
23
	        IUndoContext undoContext,
24
	        TaxonBaseDeletionConfigurator configurator,
25
	        IWorkbenchPage activePage,
26
	        IPostOperationEnabled postOperationEnabled,
27
	        IConversationEnabled conversationEnabled,
28
	        ICdmEntitySessionEnabled cdmEntitySessionEnabled) {
29
		super(label, undoContext, postOperationEnabled, conversationEnabled, cdmEntitySessionEnabled);
30
		this.configurator = configurator;
31

    
32
	}
33

    
34
	@Override
35
	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
36
			throws ExecutionException {
37
		// TODO Auto-generated method stub
38
		return null;
39
	}
40

    
41
	@Override
42
	public IStatus redo(IProgressMonitor monitor, IAdaptable info)
43
			throws ExecutionException {
44
		// TODO Auto-generated method stub
45
		return null;
46
	}
47

    
48
	@Override
49
	public IStatus undo(IProgressMonitor monitor, IAdaptable info)
50
			throws ExecutionException {
51
		// TODO Auto-generated method stub
52
		return null;
53
	}
54

    
55
	public DeleteResult getResult(){
56
	    return result;
57
	}
58
}
(15-15/19)