public interface IOperator extends ICancelable, IProgressEmitter
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
AbstractProcessingTask |
getParentTask()
Get the executing task of this operator.
|
PropertyChangeSupport |
getPcs()
Get the
PropertyChangeSupport for the operator. |
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
IResult |
run(IWorkPackage workPackage)
This method contains the entire logic (algorithm) of the operator.
|
void |
setParentTask(AbstractProcessingTask parentTask)
Set the executing task of this operator.
|
isCancelable, isCancelled, setCancelableaddProgressListener, fireProgressChanged, getProgressListenersIResult run(IWorkPackage workPackage) throws Exception
IOperator does not declare any class members, since the execution
of this code must be thread-safe.void setParentTask(AbstractProcessingTask parentTask)
parentTask - AbstractProcessingTask getParentTask()
String getName()
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.OperatorType getType()
OperatorTypePropertyChangeSupport getPcs()
PropertyChangeSupport for the operator. Property changes
can be fired using getPcs()
.firePropertyChanged(PropertyChangeEvent).PropertyChangeSupportCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.