|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.altair.hwm.toolkit.workflow.HWMWorkflowAdapter
public class HWMWorkflowAdapter
Title: HWMWorkflowAdapter
Description: The adapter class for the IHWMWorkflow interface
Company: Altair Engineering, Inc.
| Constructor Summary | |
|---|---|
HWMWorkflowAdapter(HWMWorkflowModel hwmWorkflowModel)
Constructor |
|
| Method Summary | |
|---|---|
java.util.Vector |
GetBeansInCurrentTask()
Get all the beans in the page associated with the current task. |
java.lang.String |
GetCurrentTaskName()
Get current task name |
int |
GetCurrentTaskPlayOption()
Get current task's play option |
int |
GetCurrentTaskState()
Get current task state |
boolean |
GetTaskDockable(java.lang.String strTaskName)
Get task's dockable state |
int |
GetTaskPlayOption(java.lang.String strTaskName)
Get task's play option |
int |
GetTaskState(java.lang.String strTaskName)
Get task's state |
void |
GotoTask(java.lang.String strTaskPathName)
Go to the given task |
void |
GotoTaskByName(java.lang.String strTaskName)
Go to the task with given name |
boolean |
IsRunning()
Return a flag indicating if the process is currently running |
void |
NextTask()
Got to the next task |
void |
Play(HWMWorkflowNode hwmNode,
java.lang.Object objSrc)
Play the current task |
void |
Play(java.lang.String strTaskName,
java.lang.Object objSrc)
Set the given task as the current task and play it |
void |
PrevTask()
Got to the previous task |
void |
RunTask(HWMWorkflowNode hwmCurrNode,
HWMWorkflowNode hwmNextNodeToPlay,
java.lang.Object objSrc)
Run the next task. |
void |
SetCurrentTaskPlayOption(int nPlayOption)
Set current task's play option |
void |
SetCurrentTaskState(int nState)
Set current task state |
void |
SetRun(boolean bRun)
Set the "run' flag. |
void |
SetTaskDockable(java.lang.String strTaskName,
boolean bDockable)
Docks/undocks the task |
void |
SetTaskEnabled(java.lang.String strTaskName,
boolean bEnabled)
Set the ENABLE/DISABLE state of the task |
void |
SetTaskPlayOption(java.lang.String strTaskName,
int nPlayOption)
Set task's play option |
void |
SetTasksEnabled(java.util.Vector vectTaskNames,
boolean bEnabled)
ENABLE/DISABLE all tasks in the vector |
void |
SetTaskState(java.lang.String strTaskName,
int nState)
Set task's state |
void |
SetTasksVisible(java.util.Vector vectTaskNames,
boolean bVisible)
Show/hide all tasks in the vector |
void |
SetTaskVisible(java.lang.String strTaskName,
boolean bVisible)
Set the task to be visible or not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HWMWorkflowAdapter(HWMWorkflowModel hwmWorkflowModel)
hwmWorkflowModel - The workflow model| Method Detail |
|---|
public void NextTask()
throws java.lang.Exception
java.lang.Exception - If the next task cannot be shown
public void PrevTask()
throws java.lang.Exception
java.lang.Exception - If the previous task cannot be shown
public void GotoTask(java.lang.String strTaskPathName)
throws java.lang.Exception
strTaskPathName - The name of the task. It will be in the form of
Root.Child1.Child2.taskname
java.lang.Exception - If the given task cannot be shown
public void GotoTaskByName(java.lang.String strTaskName)
throws java.lang.Exception
strTaskName - The name of the task.
java.lang.Exception - If the given task cannot be shown
public java.util.Vector GetBeansInCurrentTask()
throws java.lang.Exception
java.lang.Exception - If there is no current task
public java.lang.String GetCurrentTaskName()
throws java.lang.Exception
java.lang.Exception - If the current task is null
public void SetCurrentTaskState(int nState)
throws java.lang.Exception
nState - The current task state.
java.lang.Exception - If the current task is null
public void SetCurrentTaskPlayOption(int nPlayOption)
throws java.lang.Exception
nPlayOption - The current task's play option
java.lang.Exception - If the current task is null
public void SetTaskState(java.lang.String strTaskName,
int nState)
throws java.lang.Exception
strTaskName - The name of the tasknState - The task state
java.lang.Exception - If the task is not present
public void SetTaskPlayOption(java.lang.String strTaskName,
int nPlayOption)
throws java.lang.Exception
strTaskName - The name of the tasknPlayOption - The task's play option
java.lang.Exception - If the task is not present
public void SetTaskVisible(java.lang.String strTaskName,
boolean bVisible)
throws java.lang.Exception
String - strTaskName The unique name for the taskbVisible - The flag that indicates if the task should be visible
or not
java.lang.Exception - If any error occurs
public void SetTasksVisible(java.util.Vector vectTaskNames,
boolean bVisible)
throws java.lang.Exception
vectTaskNames - The vector of unique name for the tasksbVisible - The flag that indicates if the task should be visible
or not
java.lang.Exception - If any error occurs
public void SetTasksEnabled(java.util.Vector vectTaskNames,
boolean bEnabled)
throws java.lang.Exception
vectTaskNames - The vector of unique name for the tasksbEnabled - The flag that indicates if the task should be ENABLED
or not
java.lang.Exception - If any error occurs
public void SetTaskEnabled(java.lang.String strTaskName,
boolean bEnabled)
throws java.lang.Exception
String - strTaskName The unique name for the taskbEnabled - The flag that indicates if the task should be ENABLED
or not
java.lang.Exception - If any error occurs
public int GetCurrentTaskState()
throws java.lang.Exception
java.lang.Exception - If the current task is null
public int GetCurrentTaskPlayOption()
throws java.lang.Exception
java.lang.Exception - If the current task is null
public int GetTaskState(java.lang.String strTaskName)
throws java.lang.Exception
strTaskName - The name of the task
java.lang.Exception - If the task is not present
public int GetTaskPlayOption(java.lang.String strTaskName)
throws java.lang.Exception
strTaskName - The name of the task
java.lang.Exception - If the task is not present
public void Play(HWMWorkflowNode hwmNode,
java.lang.Object objSrc)
throws java.lang.Exception
hwmNode - The current task/folder to playobjSrc - The responsible object/caller of this fn
java.lang.Exception - If the current task is null or not playable
public void Play(java.lang.String strTaskName,
java.lang.Object objSrc)
throws java.lang.Exception
strTaskName - The name of the task to playobjSrc - The responsible object/caller of this fn
java.lang.Exception - If the task is not present or not playable
public void RunTask(HWMWorkflowNode hwmCurrNode,
HWMWorkflowNode hwmNextNodeToPlay,
java.lang.Object objSrc)
hwmCurrNode - The current workflow node that was just executedhwmNextNodeToPlay - The next node to executeobjSrc - The responsible object/caller of this fnpublic void SetRun(boolean bRun)
bRun - The run flagpublic boolean IsRunning()
public void SetTaskDockable(java.lang.String strTaskName,
boolean bDockable)
throws java.lang.Exception
strTaskName - The unique name of the taskbDockable - The flag that indicates if the task should be dockable
or not
java.lang.Exception - If any error occurs
public boolean GetTaskDockable(java.lang.String strTaskName)
throws java.lang.Exception
strTaskName - The name of the task, whose dockable property is to be known
java.lang.Exception - If the task is not present
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||