| |
|
| org.eclipse.ui.progress.UIJob org.eclipse.ui.progress.WorkbenchJob
WorkbenchJob | abstract public class WorkbenchJob extends UIJob (Code) | | WorkbenchJob is a type of job that implements a done listener
and does the shutdown checks before scheduling. This is used if
a job is not meant to run when the Workbench is shutdown.
since: 3.0 |
Constructor Summary | |
public | WorkbenchJob(Display jobDisplay, String name) Create a new instance of the receiver with the
supplied display and name.
Normally this constructor would not be used as
it is best to let the job find the display from
the workbench
Parameters: jobDisplay - Display. | public | WorkbenchJob(String name) Add a new instance of the reciever with the
supplied name. |
WorkbenchJob | public WorkbenchJob(Display jobDisplay, String name)(Code) | | Create a new instance of the receiver with the
supplied display and name.
Normally this constructor would not be used as
it is best to let the job find the display from
the workbench
Parameters: jobDisplay - Display. The display to run thejob with. Parameters: name - String |
WorkbenchJob | public WorkbenchJob(String name)(Code) | | Add a new instance of the reciever with the
supplied name.
Parameters: name - String |
performDone | public void performDone(IJobChangeEvent event)(Code) | | Perform done with the supplied event. This will
only occur if the returned status was OK.
This is called only if the job is finished with an IStatus.OK
result and the workbench is still running.
Parameters: event - IJobChangeEvent |
shouldRun | public boolean shouldRun()(Code) | | |
shouldSchedule | public boolean shouldSchedule()(Code) | | |
|
|
|