public class CreateTaxonUseOperation extends CreateTaxonDescriptionOperation
element, postOperationEnabled
Constructor and Description |
---|
CreateTaxonUseOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.model.taxon.Taxon taxon,
IPostOperationEnabled postOperationEnabled)
Constructor for CreateTaxonUseOperation.
|
CreateTaxonUseOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.model.taxon.Taxon taxon,
IPostOperationEnabled postOperationEnabled,
boolean isImageGallery)
Constructor for CreateTaxonUseOperation.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
initDescription
redo, undo
getCdmEntitySessionEnabled, getPostOperationEnabled, postExecute
public CreateTaxonUseOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.model.taxon.Taxon taxon, IPostOperationEnabled postOperationEnabled)
Constructor for CreateTaxonUseOperation.
label
- a String
object.undoContext
- a IUndoContext
object.taxon
- a Taxon
object.postOperationEnabled
- a IPostOperationEnabled
object.public CreateTaxonUseOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.model.taxon.Taxon taxon, IPostOperationEnabled postOperationEnabled, boolean isImageGallery)
Constructor for CreateTaxonUseOperation.
label
- a String
object.undoContext
- a IUndoContext
object.taxon
- a Taxon
object.postOperationEnabled
- a IPostOperationEnabled
object.isImageGallery
- a boolean.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 AbstractDescriptionPostOperation<eu.etaxonomy.cdm.model.taxon.Taxon,eu.etaxonomy.cdm.model.description.TaxonDescription>
org.eclipse.core.commands.ExecutionException
Copyright © 2007-2018. All Rights Reserved.