Java org.eclipse.jface.dialogs ProgressMonitorDialog fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.dialogs ProgressMonitorDialog fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Subclass

org.eclipse.jface.dialogs.ProgressMonitorDialog has subclasses.
Click this link to see all its subclasses.

Constructor

ProgressMonitorDialog(Shell parent)
Creates a progress monitor dialog under the given shell.

Method

booleanclose()
The ProgressMonitorDialog implementation of this method only closes the dialog if there are no currently running runnables.
voidcreate()
IProgressMonitorgetProgressMonitor()
Returns the progress monitor to use for operations run in this progress dialog.
intgetReturnCode()
Returns this window's return code.
ShellgetShell()
Returns this window's shell.
intopen()
voidrun(boolean fork, boolean cancelable, IRunnableWithProgress runnable)
This implementation of IRunnableContext#run(boolean, boolean, IRunnableWithProgress) runs the given IRunnableWithProgress using the progress monitor for this progress dialog and blocks until the runnable has been run, regardless of the value of fork.
voidsetBlockOnOpen(boolean shouldBlock)
Sets whether the open method should block until the window closes.
voidsetCancelable(boolean cancelable)
Sets whether the progress dialog is cancelable or not.
voidsetOpenOnRun(boolean openOnRun)
Sets whether the dialog should be opened before the operation is run.