Package SpecificationLong-running operations must be dealt with specially in order to keep the UI helpful and responsive. Typically this involves temporarily disabling most controls and displaying a busy cursor and progress indicator; while the operation is in progress, the only requests that will be accepted will be ones to cancel the operation.
IRunnableWithProgress interface should be implemented by
any class whose instances are intended to be executed as long-running operations.
These objects can then be run in any runnable context (
including such standard JFace UI components as application windows (
wizard dialogs (
WizardDialog), and progress monitor dialogs (
The utility class
ModalContext defines the basic mechanism and
UI event loop for modal operations.
ClassDescriptionInterface for UI components which can execute a long-running operation in the form of an
IRunnableWithProgressinterface should be implemented by any class whose instances are intended to be executed as a long-running operation.A thread listener is an object that is interested in receiving notifications of thread changes.Utility class for supporting modal operations.Contains static methods for constructing and manipulating progress monitors.