Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/operations/CreateTaxonNodeOperation.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
27 | 27 |
|
28 | 28 |
/** |
29 |
* <p>CreateTaxonNodeOperation class.</p> |
|
30 |
* |
|
29 | 31 |
* @author n.hoffmann |
30 | 32 |
* @created 08.05.2009 |
31 | 33 |
* @version 1.0 |
... | ... | |
38 | 40 |
|
39 | 41 |
/** |
40 | 42 |
* Add a name to a taxonomic tree |
41 |
* |
|
42 |
* @param label |
|
43 |
* @param undoContext |
|
44 |
* @param parentNodeUuid |
|
45 |
* @param name |
|
46 |
* @param postOperationEnabled |
|
43 |
* |
|
44 |
* @param label a {@link java.lang.String} object. |
|
45 |
* @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object. |
|
46 |
* @param name a {@link eu.etaxonomy.cdm.model.name.TaxonNameBase} object. |
|
47 |
* @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object. |
|
48 |
* @param parentNode a {@link eu.etaxonomy.cdm.model.taxon.ITreeNode} object. |
|
49 |
* @param conversationEnabled a {@link eu.etaxonomy.cdm.api.conversation.IConversationEnabled} object. |
|
47 | 50 |
*/ |
48 | 51 |
public CreateTaxonNodeOperation(String label, IUndoContext undoContext, |
49 | 52 |
ITreeNode parentNode, TaxonNameBase<?, ?> name, IPostOperationEnabled postOperationEnabled, |
... | ... | |
55 | 58 |
|
56 | 59 |
/** |
57 | 60 |
* Add a taxon to a taxonomic tree |
58 |
* |
|
59 |
* @param label |
|
60 |
* @param undoContext |
|
61 |
* @param parentNodeUuid |
|
62 |
* @param taxon |
|
63 |
* @param postOperationEnabled |
|
61 |
* |
|
62 |
* @param label a {@link java.lang.String} object. |
|
63 |
* @param undoContext a {@link org.eclipse.core.commands.operations.IUndoContext} object. |
|
64 |
* @param taxon a {@link eu.etaxonomy.cdm.model.taxon.Taxon} object. |
|
65 |
* @param postOperationEnabled a {@link eu.etaxonomy.taxeditor.operations.IPostOperationEnabled} object. |
|
66 |
* @param parentNode a {@link eu.etaxonomy.cdm.model.taxon.ITreeNode} object. |
|
67 |
* @param conversationEnabled a {@link eu.etaxonomy.cdm.api.conversation.IConversationEnabled} object. |
|
64 | 68 |
*/ |
65 | 69 |
public CreateTaxonNodeOperation(String label, IUndoContext undoContext, |
66 | 70 |
ITreeNode parentNode, Taxon taxon, IPostOperationEnabled postOperationEnabled, |
... | ... | |
74 | 78 |
/* (non-Javadoc) |
75 | 79 |
* @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
76 | 80 |
*/ |
81 |
/** {@inheritDoc} */ |
|
77 | 82 |
@Override |
78 | 83 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) |
79 | 84 |
throws ExecutionException { |
... | ... | |
98 | 103 |
/* (non-Javadoc) |
99 | 104 |
* @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
100 | 105 |
*/ |
106 |
/** {@inheritDoc} */ |
|
101 | 107 |
@Override |
102 | 108 |
public IStatus redo(IProgressMonitor monitor, IAdaptable info) |
103 | 109 |
throws ExecutionException { |
... | ... | |
107 | 113 |
/* (non-Javadoc) |
108 | 114 |
* @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
109 | 115 |
*/ |
116 |
/** {@inheritDoc} */ |
|
110 | 117 |
@Override |
111 | 118 |
public IStatus undo(IProgressMonitor monitor, IAdaptable info) |
112 | 119 |
throws ExecutionException { |
Also available in: Unified diff
performed javacscript:fix and worked on documentation