Method Summary |
|
public static void | animateDown(Rectangle startPosition) Animate the closing of a window given the start position down to the
progress region.
Parameters: startPosition - Rectangle. |
public static void | animateUp(Rectangle endPosition) Animate the opening of a window given the start position down to the
progress region.
Parameters: endPosition - Rectangle. |
static IStatus | exceptionStatus(Throwable exception) Return a status for the exception. |
public static Shell | getDefaultParent() Utility method to get the best parenting possible for a dialog. |
public static URL | getIconsRoot() Get the icons root for the progress support. |
public static Shell | getModalShellExcluding(Shell shell) Return the modal shell that is currently open. |
public static Shell | getNonModalShell() Get the active non modal shell. |
public static URL | getProgressSpinnerLocation() Return the location of the progress spinner. |
static ViewerComparator | getProgressViewerComparator() Return a viewer comparator for looking at the jobs. |
static IShellProvider | getShellProvider() Get the shell provider to use in the progress support dialogs. |
static void | logException(Throwable exception) Log the exception for debugging. |
static void | openProgressView(WorkbenchWindow window) Open the progress view in the supplied window. |
public static boolean | rescheduleIfModalShellOpen(Job openJob) If there are any modal shells open reschedule openJob to wait until they
are closed. |
public static boolean | safeToOpen(ProgressMonitorJobsDialog dialog, Shell excludedShell) Return whether or not it is safe to open this dialog. |
static String | shortenText(String textValue, Control control) Shorten the given text t so that its length doesn't exceed
the given width. |