public class CreateDescriptionElementOperation extends AbstractPostTaxonOperation
CreateDescriptionElementOperation class.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Constant
ID="eu.etaxonomy.taxeditor.editor.descripti"{trunked} |
parentNodeUuid, taxonNode
postOperationEnabled
Constructor and Description |
---|
CreateDescriptionElementOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.model.description.DescriptionBase<?> description,
eu.etaxonomy.cdm.model.description.Feature feature,
eu.etaxonomy.cdm.model.description.DescriptionElementBase element,
IPostOperationEnabled postOperationEnabled)
Constructor for CreateDescriptionElementOperation.
|
CreateDescriptionElementOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.model.description.DescriptionBase<?> description,
eu.etaxonomy.cdm.model.description.Feature feature,
IPostOperationEnabled postOperationEnabled)
Constructor for CreateDescriptionElementOperation.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
redo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
getSync, setSync
getCdmEntitySessionEnabled, getPostOperationEnabled, postExecute
public static final java.lang.String ID
ID="eu.etaxonomy.taxeditor.editor.descripti"{trunked}
public CreateDescriptionElementOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.model.description.DescriptionBase<?> description, eu.etaxonomy.cdm.model.description.Feature feature, IPostOperationEnabled postOperationEnabled)
Constructor for CreateDescriptionElementOperation.
label
- a String
object.undoContext
- a IUndoContext
object.taxon
- a Taxon
object.description
- a DescriptionBase
object.feature
- a Feature
object.postOperationEnabled
- a IPostOperationEnabled
object.public CreateDescriptionElementOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.model.description.DescriptionBase<?> description, eu.etaxonomy.cdm.model.description.Feature feature, eu.etaxonomy.cdm.model.description.DescriptionElementBase element, IPostOperationEnabled postOperationEnabled)
Constructor for CreateDescriptionElementOperation.
undoContext
- a IUndoContext
object.taxon
- a Taxon
object.description
- a DescriptionBase
object.feature
- a Feature
object.element
- a DescriptionElementBase
object.postOperationEnabled
- a IPostOperationEnabled
object.label
- a String
object.public org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
execute
in interface org.eclipse.core.commands.operations.IUndoableOperation
execute
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
public org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
redo
in interface org.eclipse.core.commands.operations.IUndoableOperation
redo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
undo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
Copyright © 2007-2018. All Rights Reserved.