Example usage for Java org.eclipse.jface.dialogs ProgressMonitorDialog fields, constructors, methods, implement or subclass
The text is from its open source code.
ProgressMonitorDialog(Shell parent) Creates a progress monitor dialog under the given shell. |
boolean | close() The ProgressMonitorDialog implementation of this method only closes the dialog if there are no currently running runnables. |
void | create() |
IProgressMonitor | getProgressMonitor() Returns the progress monitor to use for operations run in this progress dialog. |
int | getReturnCode() Returns this window's return code. |
Shell | getShell() Returns this window's shell. |
int | open() |
void | run(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 . |
void | setBlockOnOpen(boolean shouldBlock) Sets whether the open method should block until the window closes. |
void | setCancelable(boolean cancelable) Sets whether the progress dialog is cancelable or not. |
void | setOpenOnRun(boolean openOnRun) Sets whether the dialog should be opened before the operation is run. |