Example usage for Java org.eclipse.jface.operation ModalContext fields, constructors, methods, implement or subclass
The text is from its open source code.
void | checkCanceled(IProgressMonitor monitor) Checks with the given progress monitor and throws InterruptedException if it has been canceled. |
int | getModalLevel() Returns the modal nesting level. |
boolean | isModalContextThread(Thread thread) Returns whether the given thread is running a modal context. |
void | run(IRunnableWithProgress operation, boolean fork, IProgressMonitor monitor, Display display) Runs the given runnable in a modal context, passing it a progress monitor. |
void | setAllowReadAndDispatch(boolean allowReadAndDispatch) Sets whether ModalContext may process events (by calling Display.readAndDispatch() ) while running operations. |
void | setDebugMode(boolean debugMode) Sets whether ModalContext is running in debug mode. |