Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/operations/DeleteNameRelationOperation.java | ||
---|---|---|
20 | 20 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
21 | 21 |
|
22 | 22 |
/** |
23 |
* <p>DeleteNameRelationOperation class.</p> |
|
24 |
* |
|
23 | 25 |
* @author n.hoffmann |
24 | 26 |
* @created Mar 30, 2010 |
25 | 27 |
* @version 1.0 |
... | ... | |
28 | 30 |
|
29 | 31 |
private NameRelationship nameRelationship; |
30 | 32 |
|
33 |
/** |
|
34 |
* <p>Constructor for DeleteNameRelationOperation.</p> |
|
35 |
* |
|
36 |
* @param label a {@link java.lang.String} object. |
|
37 |
* @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object. |
|
38 |
* @param nameRelationship a {@link eu.etaxonomy.cdm.model.name.NameRelationship} object. |
|
39 |
* @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object. |
|
40 |
*/ |
|
31 | 41 |
public DeleteNameRelationOperation(String label, IUndoContext undoContext, NameRelationship nameRelationship, |
32 | 42 |
IPostOperationEnabled postOperationEnabled) { |
33 | 43 |
super(label, undoContext, postOperationEnabled); |
... | ... | |
37 | 47 |
/* (non-Javadoc) |
38 | 48 |
* @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
39 | 49 |
*/ |
50 |
/** {@inheritDoc} */ |
|
40 | 51 |
@Override |
41 | 52 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
42 | 53 |
throws ExecutionException { |
... | ... | |
51 | 62 |
/* (non-Javadoc) |
52 | 63 |
* @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
53 | 64 |
*/ |
65 |
/** {@inheritDoc} */ |
|
54 | 66 |
@Override |
55 | 67 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) |
56 | 68 |
throws ExecutionException { |
... | ... | |
60 | 72 |
/* (non-Javadoc) |
61 | 73 |
* @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
62 | 74 |
*/ |
75 |
/** {@inheritDoc} */ |
|
63 | 76 |
@Override |
64 | 77 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) |
65 | 78 |
throws ExecutionException { |
Also available in: Unified diff
performed javacscript:fix and worked on documentation