public abstract class AbstractPostOperation<T extends eu.etaxonomy.cdm.model.common.ICdmBase>
extends org.eclipse.core.commands.operations.AbstractOperation
Modifier and Type | Field and Description |
---|---|
protected T |
element
A reference to the
ICdmBase element the concrete operation is working on |
protected IPostOperationEnabled |
postOperationEnabled |
Constructor and Description |
---|
AbstractPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
T element,
IPostOperationEnabled postOperationEnabled) |
AbstractPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
T element,
IPostOperationEnabled postOperationEnabled,
ICdmEntitySessionEnabled cdmEntitySessionEnabled) |
Modifier and Type | Method and Description |
---|---|
ICdmEntitySessionEnabled |
getCdmEntitySessionEnabled() |
IPostOperationEnabled |
getPostOperationEnabled()
Getter for the field
postOperationEnabled . |
protected org.eclipse.core.runtime.IStatus |
postExecute(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will try to call the post operation on a possibly registered
IPostOperationEnabled implementor.
|
protected T extends eu.etaxonomy.cdm.model.common.ICdmBase element
ICdmBase
element the concrete operation is working onprotected IPostOperationEnabled postOperationEnabled
public AbstractPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, T element, IPostOperationEnabled postOperationEnabled)
label
- element
- postOperationEnabled
- public AbstractPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, T element, IPostOperationEnabled postOperationEnabled, ICdmEntitySessionEnabled cdmEntitySessionEnabled)
protected org.eclipse.core.runtime.IStatus postExecute(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
objectAffectedByOperation
- the affected object. Should be null
if not neededIStatus
object.public IPostOperationEnabled getPostOperationEnabled()
Getter for the field postOperationEnabled
.
IPostOperationEnabled
object.public ICdmEntitySessionEnabled getCdmEntitySessionEnabled()
Copyright © 2007-2018. All Rights Reserved.