|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.core.ui.frameworks.taskwizard.SimpleTask
public class SimpleTask
Field Summary | |
---|---|
protected WizardBase |
container
|
protected IWizardContext |
context
|
protected Composite |
topControl
|
Constructor Summary | |
---|---|
SimpleTask()
|
|
SimpleTask(java.lang.String title)
|
Method Summary | |
---|---|
protected void |
addError(java.lang.String errorInfo)
|
void |
createControl(Composite parent)
|
void |
dispose()
|
IWizardContext |
getContext()
Called just before the UI for the task is disposed, it will be used by the wizard. |
Control |
getControl()
|
java.lang.String |
getDescription()
|
java.lang.String |
getErrorMessage()
|
java.lang.String[] |
getErrors()
Called by the container wizard if it follows the 'pull' mechanism for error discovery. |
Image |
getImage()
|
java.lang.String |
getMessage()
|
java.lang.String |
getTitle()
|
void |
performHelp()
Deprecated. For later use |
protected void |
removeError(java.lang.String errorInfo)
|
void |
setContext(IWizardContext context)
Called just before the UI for this Task is shown. |
void |
setDescription(java.lang.String description)
|
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 |
setImageDescriptor(ImageDescriptor image)
Deprecated. For later use |
void |
setTitle(java.lang.String title)
|
void |
setUIProvider(WizardBase wizard)
Called upon instantiation to allow a task to interact with the containing wizard. |
void |
setVisible(boolean visible)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Composite topControl
protected transient IWizardContext context
protected transient WizardBase container
Constructor Detail |
---|
public SimpleTask()
public SimpleTask(java.lang.String title)
Method Detail |
---|
public void setContext(IWizardContext context)
ITask
setContext
in interface ITask
context
- The context in which the Subtask UI will be shown. Its content
depend on individual wizards.public IWizardContext getContext()
ITask
getContext
in interface ITask
public void setUIProvider(WizardBase wizard)
ITask
setUIProvider
in interface ITask
wizard
- instance of WizardBase containing this task instance.public java.lang.String[] getErrors()
ITask
getErrors
in interface ITask
protected void addError(java.lang.String errorInfo)
protected void removeError(java.lang.String errorInfo)
public void setErrorHints(java.lang.Object[] errorHints)
ITask
setErrorHints
in interface ITask
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.public void dispose()
public void createControl(Composite parent)
public Control getControl()
public java.lang.String getDescription()
public java.lang.String getErrorMessage()
public Image getImage()
public java.lang.String getMessage()
public java.lang.String getTitle()
public void performHelp()
public void setDescription(java.lang.String description)
public void setImageDescriptor(ImageDescriptor image)
public void setTitle(java.lang.String title)
public void setVisible(boolean visible)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |