Revision 8481f952
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/operation/CreateConceptRelationOperation.java | ||
---|---|---|
27 | 27 |
* @author p.ciardelli |
28 | 28 |
* @author n.hoffmann |
29 | 29 |
* @created 26.01.2009 |
30 |
* @version 1.0 |
|
31 | 30 |
*/ |
32 | 31 |
public class CreateConceptRelationOperation extends CreateNewTaxonBaseOperation { |
33 | 32 |
|
... | ... | |
58 | 57 |
this(label, undoContext, taxon, concept, new TaxonRelationshipTypeInverseContainer(taxonRelationshipType, false), postOperationEnabled); |
59 | 58 |
} |
60 | 59 |
|
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 | 60 |
@Override |
66 | 61 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
67 | 62 |
throws ExecutionException { |
... | ... | |
80 | 75 |
return postExecute(concept); |
81 | 76 |
} |
82 | 77 |
|
83 |
/* (non-Javadoc) |
|
84 |
* @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
|
85 |
*/ |
|
86 |
/** {@inheritDoc} */ |
|
87 | 78 |
@Override |
88 | 79 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) |
89 | 80 |
throws ExecutionException { |
90 | 81 |
return execute(monitor, info); |
91 | 82 |
} |
92 | 83 |
|
93 |
/* (non-Javadoc) |
|
94 |
* @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
|
95 |
*/ |
|
96 |
/** {@inheritDoc} */ |
|
97 | 84 |
@Override |
98 | 85 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) |
99 | 86 |
throws ExecutionException { |
Also available in: Unified diff
cleanup