Revision 8481f952
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/DeleteMisapplicationOperation.java | ||
---|---|---|
58 | 58 |
this.element = taxon; |
59 | 59 |
} |
60 | 60 |
|
61 |
/* (non-Javadoc) |
|
62 |
* @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
|
63 |
*/ |
|
64 |
/** {@inheritDoc} */ |
|
65 | 61 |
@Override |
66 | 62 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
67 | 63 |
throws ExecutionException { |
... | ... | |
91 | 87 |
return postExecute(null); |
92 | 88 |
} |
93 | 89 |
|
94 |
/** {@inheritDoc} */ |
|
95 | 90 |
@Override |
96 | 91 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) |
97 | 92 |
throws ExecutionException { |
98 | 93 |
return execute(monitor, info); |
99 | 94 |
} |
100 | 95 |
|
101 |
/** {@inheritDoc} */ |
|
102 | 96 |
@Override |
103 | 97 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) |
104 | 98 |
throws ExecutionException { |
105 | 99 |
|
106 | 100 |
element.addMisappliedName(misapplication, citation, microcitation); |
107 | 101 |
|
108 |
|
|
109 | 102 |
return postExecute(misapplication); |
110 | 103 |
} |
111 | 104 |
} |
Also available in: Unified diff
cleanup