public interface IExecutionProtocol
IOperator in IQM.| Modifier and Type | Method and Description |
|---|---|
void |
disableInputs(AbstractOperatorGUI window)
Disables the user input on a given window, i.e.
|
void |
enableInputs(AbstractOperatorGUI window)
Enables the user input on a given window, i.e.
|
void |
executeParallelProcessing(int nThreads)
Executes the processing of all selected manager items in a parallel
manner.
|
void |
executePreview(IWorkPackage wp,
IOperatorGUI opGUI)
Executes a preview with the given work package and GUI.
|
void |
executeSerialProcessing()
Executes the serial processing of all selected manager items.
|
void |
finishProtocol()
Finishes the protocol for an operator execution.
|
MultiResultDialog |
getMultiResultDialog()
Gets the Dialog for selecting multiple output results in order to add
them to the Tank list.
|
IOperatorDescriptor |
getOperatorDescriptor()
Gets the operator descriptor of this protocol.
|
IOperatorGUI |
getOperatorGUI()
Gets the GUI of this protocol.
|
String |
getOperatorName()
Gets the name of the currently launched operator.
|
Result |
getPreviewResult()
Gets the preview result in the current execution protocol.
|
IWorkPackage |
getWorkPackage()
Gets the work package of this protocol.
|
int |
launchProtocol()
Launches the protocol and initiates the GUI building.
|
void |
setPreviewResult(IResult previewResult)
Sets the preview result in the current execution protocol.
|
void |
setVirtualFlagToOperatorGUI(boolean virtual)
Sets the "virtual" flag to the operator's GUI, if supported.
|
void |
updateGUI()
Updates the GUI, if a change in the sources occurs, e.g.
|
int[] |
updateSources(int[] currMgrIdxs,
int[] targetMgrIdxs)
This method tries to update the manager indices for the processing with
the launched operator.
|
void executePreview(IWorkPackage wp, IOperatorGUI opGUI)
wp - opGUI - void finishProtocol()
void updateGUI()
throws Exception
Exception - , if this adaption failsint[] updateSources(int[] currMgrIdxs,
int[] targetMgrIdxs)
currMgrIdxs - the current manager indicestargetMgrIdxs - the target manager indicesString getOperatorName()
String[][] resources with the key
GlobalNameIWorkPackage getWorkPackage()
IOperatorGUI getOperatorGUI()
IOperatorDescriptor getOperatorDescriptor()
void enableInputs(AbstractOperatorGUI window)
window - the window to disable the input onvoid disableInputs(AbstractOperatorGUI window)
window - the window to disable the input onvoid executeSerialProcessing()
void executeParallelProcessing(int nThreads)
nThreads.nThreads - the number of threads that are supposed to run concurrentlyvoid setVirtualFlagToOperatorGUI(boolean virtual)
virtual - true, if the check box should be selected,
false otherwiseint launchProtocol()
ExecutionState after launchingMultiResultDialog getMultiResultDialog()
MultiResultDialogvoid setPreviewResult(IResult previewResult)
previewResult - Result getPreviewResult()
Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.