|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITask
Method Summary | |
---|---|
IWizardContext |
getContext()
Called just before the UI for the task is disposed, it will be used by the wizard. |
java.lang.String[] |
getErrors()
Called by the container wizard if it follows the 'pull' mechanism for error discovery. |
void |
setContext(IWizardContext context)
Called just before the UI for this Task is shown. |
void |
setErrorHints(java.lang.Object[] errorHints)
Called just before the UI for this Task is shown...in case the task is being shown in response to a request to fix an error. |
void |
setUIProvider(WizardBase wizard)
Called upon instantiation to allow a task to interact with the containing wizard. |
Method Detail |
---|
void setContext(IWizardContext context)
context
- The context in which the Subtask UI will be shown. Its content
depend on individual wizards.IWizardContext getContext()
void setUIProvider(WizardBase wizard)
wizard
- instance of WizardBase containing this task instance.void setErrorHints(java.lang.Object[] errorHints)
errorHints
- Object array providing additional (task-specific) information
provided by the source of the task redirection. It is expected
to contain information that the target task can use to better
guide the user to fix any error conditions.java.lang.String[] getErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |