Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.jface.operation: Javadoc index of package org.eclipse.jface.operation.


Package Samples:

org.eclipse.jface.operation

Classes:

AccumulatingProgressMonitor: A progress monitor that accumulates worked and subtask calls in the following way by wrapping a standard progress monitor: When a worked or subtask call occurs the first time, the progress monitor posts a runnable into the asynchronous SWT event queue. Subsequent calls to worked or subtask do not post a new runnable as long as a previous runnable still exists in the SWT event queue. In this case, the progress monitor just updates the internal state of the runnable that waits in the SWT event queue for its execution. If no runnable exists, a new one is created and posted into the event queue. This ...
IRunnableWithProgress: The IRunnableWithProgress interface should be implemented by any class whose instances are intended to be executed as a long-running operation. Long-running operations are typically presented at the UI via a modal dialog showing a progress indicator and a Cancel button. The class must define a run method that takes a progress monitor. The run method is usually not invoked directly, but rather by passing the IRunnableWithProgress to the run method of an IRunnableContext , which provides the UI for the progress monitor and Cancel button.
IRunnableContext: Interface for UI components which can execute a long-running operation in the form of an IRunnableWithProgress . The context is responsible for displaying a progress indicator and Cancel button to the end user while the operation is in progress; the context supplies a progress monitor to be used from code running inside the operation. Note that an IRunnableContext is not a runnable itself. For examples of UI components which implement this interface, see ApplicationWindow , ProgressMonitorDialog , and WizardDialog .
ModalContext: Utility class for supporting modal operations. The runnable passed to the run method is executed in a separate thread, depending on the value of the passed fork argument. If the runnable is executed in a separate thread then the current thread either waits until the new thread ends or, if the current thread is the UI thread, it polls the SWT event queue and dispatches each event. This class is not intended to be subclassed.

Home | Contact Us | Privacy Policy | Terms of Service