Method Summary |
|
public void | addJobInfo(JobInfo info) Refresh the content providers as a result of an addition of info. |
void | addListener(IJobProgressManagerListener listener) Add an IJobProgressManagerListener to listen to the changes. |
void | addListenerToFamily(Object family, IJobBusyListener listener) Add the listener to the family. |
public void | busyCursorWhile(IRunnableWithProgress runnable) |
boolean | checkForStaleness(Job job) Check the if the job should be removed from the list as it may be stale. |
public IProgressMonitor | createMonitor(Job job) |
public IProgressMonitor | createMonitor(Job job, IProgressMonitor group, int ticks) |
public IProgressMonitor | createProgressGroup() |
public IProgressMonitor | getDefaultMonitor() |
public Image | getIconFor(Job job) |
Image | getImage(ImageData source) Returns the image descriptor with the given relative path. |
ImageData[] | getImageData(URL fileSystemPath, ImageLoader loader) Returns the image descriptor with the given relative path. |
public static ProgressManager | getInstance() Get the progress manager currently in use. |
JobInfo | getJobInfo(Job job) Get the JobInfo for the job. |
public JobInfo[] | getJobInfos(boolean debug) Return the current job infos filtered on debug mode. |
public int | getLongOperationTime() |
public JobTreeElement[] | getRootElements(boolean debug) Return the current root elements filtered on the debug mode. |
public boolean | hasJobInfos() Return whether or not there are any jobs being displayed. |
JobInfo | internalGetJobInfo(Job job) Return an existing job info for the given Job or null if
there isn't one. |
boolean | isNonDisplayableJob(Job job, boolean debug) Return whether or not this job is currently displayable.
Parameters: job - Parameters: debug - If the listener is in debug mode. |
public JobMonitor | progressFor(Job job) Return a monitor for the job. |
public void | refreshAll() Refresh all the IJobProgressManagerListener as a result of a change in
the whole model. |
public void | refreshGroup(GroupInfo info) Refresh the IJobProgressManagerListeners as a result of a change in info. |
public void | refreshJobInfo(JobInfo info) Refresh the IJobProgressManagerListeners as a result of a change in info. |
public void | registerIconForFamily(ImageDescriptor icon, Object family) |
public void | removeGroup(GroupInfo group) Remove the group from the roots and inform the listeners. |
public void | removeJobInfo(JobInfo info) Refresh the content providers as a result of a deletion of info. |
void | removeListener(IJobProgressManagerListener listener) Remove the supplied IJobProgressManagerListener from the list of
listeners. |
void | removeListener(IJobBusyListener listener) Remove the listener from all families. |
public void | run(boolean fork, boolean cancelable, IRunnableWithProgress runnable) |
public void | runInUI(IRunnableContext context, IRunnableWithProgress runnable, ISchedulingRule rule) |
public void | setShowSystemJobs(boolean showSystem) Set whether or not the ProgressViewUpdater should show system jobs. |
void | setUpImages(URL iconsRoot) Set up any images the error management needs. |
public void | showInDialog(Shell shell, Job job) |
public static void | shutdownProgressManager() Shutdown the singleton if there is one. |