Example usage for org.eclipse.jface.operation IRunnableContext interface-usage

List of usage examples for org.eclipse.jface.operation IRunnableContext interface-usage

Introduction

In this page you can find the example usage for org.eclipse.jface.operation IRunnableContext interface-usage.

Usage

From source file com.github.haixing_hu.swt.window.ApplicationWindowEx.java

/**
 * An application window is a high-level "main window", with built-in
 * support for an optional menu bar with standard menus, an optional toolbar,
 * and an optional status line.
 * <p>
 * Creating an application window involves the following steps:

From source file com.google.dart.tools.search.internal.ui.util.ExtendedDialogWindow.java

public abstract class ExtendedDialogWindow extends TrayDialog implements IRunnableContext {

    private Control fContents;
    private Button fCancelButton;
    private List<Button> fActionButtons;
    // The number of long running operation executed from the dialog.

From source file com.google.dart.tools.ui.feedback.FeedbackDialog.java

/**
 * A dialog to collect user feedback.
 */
public class FeedbackDialog extends Dialog implements IRunnableContext, DisposeListener {

    /**

From source file com.google.dart.tools.ui.internal.util.BusyIndicatorRunnableContext.java

/**
 * A runnable context that shows the busy cursor instead of a progress monitor. Note, that the UI
 * thread is blocked even if the runnable is executed in a separate thread by passing
 * <code>fork= true</code> to the context's run method. Furthermore this context doesn't provide any
 * UI to cancel the operation.
 */

From source file com.microsoft.tfs.client.common.ui.framework.runnable.BusyIndicatorRunnableContext.java

public class BusyIndicatorRunnableContext implements IRunnableContext {
    private final Display display;

    public BusyIndicatorRunnableContext(final Display display) {
        this.display = display;
    }

From source file com.microsoft.tfs.client.common.ui.framework.runnable.DeferredProgressMonitorDialogContext.java

/**
 * <p>
 * An implementation of IRunnableContext that uses a ProgressMonitorDialog.
 * </p>
 * <p>
 * However, unlike using ProgressMonitorDialog directly, using this

From source file com.nokia.carbide.search.system.internal.ui.util.ExtendedDialogWindow.java

public abstract class ExtendedDialogWindow extends TrayDialog implements IRunnableContext {

    private Control fContents;
    private Button fCancelButton;
    private List fActionButtons;
    // The number of long running operation executed from the dialog.   

From source file de.femodeling.e4.ui.progress.IProgressService.java

/**
 * The progress service is the primary interface to the workbench progress
 * support. It can be obtained from the workbench and then used to show progress
 * for both background operations and operations that run in the UI thread.
 * <p>
 * All methods on the progress service must be called from the UI thread.

From source file de.walware.ecommons.ui.dialogs.ExtStatusDialog.java

public class ExtStatusDialog extends StatusDialog implements IRunnableContext {

    protected final static int WITH_RUNNABLE_CONTEXT = 1 << 0;
    protected final static int WITH_DATABINDING_CONTEXT = 1 << 1;
    protected final static int SHOW_INITIAL_STATUS = 1 << 2;

From source file descent.internal.ui.util.BusyIndicatorRunnableContext.java

/**
 * A runnable context that shows the busy cursor instead of a progress
 * monitor. Note, that the UI thread is blocked even if the runnable
 * is executed in a separate thread by passing <code>fork= true</code>
 * to the context's run method. Furthermore this context doesn't provide
 * any UI to cancel the operation.