public interface IWorkbenchSiteProgressService extends IProgressService
getSite.getAdapter(IWorkbenchSiteProgressService.class);
This interface is not intended to be implemented by client
plug-ins.IAdaptable.getAdapter(Class)
Modifier and Type | Field and Description |
---|---|
static String |
BUSY_PROPERTY
The property that is sent with busy notifications.
|
Modifier and Type | Method and Description |
---|---|
void |
schedule(Job job)
Jobs scheduled with this method will cause the part's presentation
to be changed to indicate that the part is busy and in a transient
state until the job completes.
|
void |
schedule(Job job,
long delay)
Jobs scheduled with this method will cause the part's presentation
to be changed to indicate that the part is busy and in a transient
state until the job completes.
|
void |
schedule(Job job,
long delay,
boolean useHalfBusyCursor)
Jobs scheduled with this method will cause the part's presentation
to be changed to indicate that the part is busy and in a transient
state until the job completes.
|
void |
showBusyForFamily(Object family)
Show busy state if any job of the specified family is running.
|
void |
warnOfContentChange()
Warn that the content of the receiver has
changed.
|
busyCursorWhile, getIconFor, getLongOperationTime, registerIconForFamily, run, runInUI, showInDialog
static final String BUSY_PROPERTY
void schedule(Job job, long delay, boolean useHalfBusyCursor)
WorkbenchPart.setBusy()
.
If useHalfBusyCursor is true then the cursor will change to
the half busy cursor for the duration of the job.job
- The job to scheduledelay
- The delay in scheduling.useHalfBusyCursor
- A boolean to indicate if the half busy
cursor should be used while this job is running.Job.schedule(long)
void schedule(Job job, long delay)
WorkbenchPart.setBusy
.job
- The job to scheduledelay
- The delay in scheduling.Job.schedule(long)
void schedule(Job job)
WorkbenchPart.setBusy
.job
- The job to scheduleJob.schedule()
void showBusyForFamily(Object family)
family
- ObjectJob.belongsTo(Object)
void warnOfContentChange()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.