Revision 8481f952
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/DeleteDerivateOperation.java | ||
---|---|---|
31 | 31 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
32 | 32 |
|
33 | 33 |
/** |
34 |
* |
|
35 | 34 |
* @author pplitzner |
36 | 35 |
* @date Oct 21, 2014 |
37 |
* |
|
38 | 36 |
*/ |
39 | 37 |
public class DeleteDerivateOperation extends AbstractPostOperation<CdmBase> { |
40 | 38 |
|
... | ... | |
53 | 51 |
this.treeNode = treeNode; |
54 | 52 |
} |
55 | 53 |
|
56 |
|
|
57 |
/** {@inheritDoc} */ |
|
58 | 54 |
@Override |
59 | 55 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { |
60 | 56 |
|
... | ... | |
79 | 75 |
return Status.OK_STATUS; |
80 | 76 |
} |
81 | 77 |
|
82 |
/** {@inheritDoc} */ |
|
83 | 78 |
@Override |
84 | 79 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { |
85 | 80 |
//no redo possible |
86 | 81 |
return Status.CANCEL_STATUS ; |
87 | 82 |
} |
88 | 83 |
|
89 |
/** {@inheritDoc} */ |
|
90 | 84 |
@Override |
91 | 85 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { |
92 | 86 |
//no undo possible |
Also available in: Unified diff
cleanup