Methods in Tcl Modules
The table below outlines the four functions that Process Manager will call (if the module provides them).
Interactive Mode | Replay Mode | |
---|---|---|
DisplayWnd | This method is called when you select a task in the process tree. | <Never called in Replay mode> |
Exec | When you click the Apply button. | <This method is called for each task> |
SetDataInDataModel |
|
|
GetDataFromDataModel | <Never called> | This method is called before the Exec method is called for each task. |
Action | Outcome | |
Select task in process tree | DisplayWnd is called on the module associated with that task. | |
Click Apply. |
|
|
Click Cancel. | Removes/Destroys that window. | |
Click Next or Prev, or select a different task in the process tree. |
|
|
Replay | For each task:
|