Java org.eclipse.jface.operation ModalContext fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.operation ModalContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.operation ModalContext.

The text is from its open source code.

Method

voidcheckCanceled(IProgressMonitor monitor)
Checks with the given progress monitor and throws InterruptedException if it has been canceled.
intgetModalLevel()
Returns the modal nesting level.
booleanisModalContextThread(Thread thread)
Returns whether the given thread is running a modal context.
voidrun(IRunnableWithProgress operation, boolean fork, IProgressMonitor monitor, Display display)
Runs the given runnable in a modal context, passing it a progress monitor.
voidsetAllowReadAndDispatch(boolean allowReadAndDispatch)
Sets whether ModalContext may process events (by calling Display.readAndDispatch()) while running operations.
voidsetDebugMode(boolean debugMode)
Sets whether ModalContext is running in debug mode.