|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.task.MonitoredGUITaskExecutor<B,R>
B - Type of bean sent to the taskR - Type of bean returned by the taskpublic class MonitoredGUITaskExecutor<B,R>
Runs a GUITask whose execution is monitored by a
modal dialog.
TaskMonitor| Constructor Summary | |
|---|---|
MonitoredGUITaskExecutor()
|
|
| Method Summary | |
|---|---|
void |
execute(ActionContext actionContext,
B bean,
GUITask<B,R> guiTask)
Executes a given task, starting from a given action context and with a given bean input. |
void |
setMessageExpression(String messageExpression)
Sets the expression for the message to display in the monitor. |
void |
setTitleExpression(String titleExpression)
Sets the expression for the title to display in the monitor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitoredGUITaskExecutor()
| Method Detail |
|---|
public void execute(ActionContext actionContext,
B bean,
GUITask<B,R> guiTask)
throws TaskException
GUITaskExecutor
execute in interface GUITaskExecutor<B,R>actionContext - Action context to execute the task inbean - Input for the taskguiTask - Task to execute
TaskException - If the task has returned an errorpublic void setMessageExpression(String messageExpression)
messageExpression - Expressionpublic void setTitleExpression(String titleExpression)
titleExpression - Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||