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

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

Introduction

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

Usage

From source file org.eclipse.cdt.internal.build.crossgcc.SetCrossCommandOperation.java

/**
 * An operation that runs when the new project wizard finishes for the Cross GCC toolchain.
 * It reuses the information from {@link SetCrossCommandWizardPage} to set build options (prefix and path).
 * It also clears and reruns scanner discovery to account for the modified command. 
 *
 */

From source file org.eclipse.cdt.internal.ui.actions.WorkbenchRunnableAdapter.java

/**
 * An <code>IRunnableWithProgress</code> that adapts and  <code>IWorkspaceRunnable</code>
 * so that is can be executed inside <code>IRunnableContext</code>. <code>OperationCanceledException</code>
 * thrown by the adapted runnable are caught and re-thrown as a <code>InterruptedException</code>.
 */
public class WorkbenchRunnableAdapter implements IRunnableWithProgress, IThreadListener {

From source file org.eclipse.cdt.launch.remote.direct.DirectDebugRemoteFileExportOperation.java

/**
 *   Operation for exporting the contents of a resource to the local file system.
 */
class DirectDebugRemoteFileExportOperation implements IRunnableWithProgress {
    private IHost conn;
    private IPath path;

From source file org.eclipse.cdt.linux.help.preferences.HelpMonitor.java

public class HelpMonitor implements IRunnableWithProgress {
    String _message;
    //boolean _running = false;

    DataElement _status;

From source file org.eclipse.cdt.managedbuilder.xlc.ui.wizards.XLCSettingsWizardRunnable.java

/**
 * @author crecoskie
 *
 */
public class XLCSettingsWizardRunnable implements IRunnableWithProgress {

From source file org.eclipse.cdt.rpm.ui.RPMExportOperation.java

public class RPMExportOperation implements IRunnableWithProgress {
    private IProgressMonitor monitor;
    private ArrayList rpm_errorTable;
    private IRPMProject rpmProject;
    private RPMExportDelta exportDelta;
    private int exportType;

From source file org.eclipse.cdt.rpm.ui.SRPMImportOperation.java

/**
 * Import Operation Class for RPM plug-in. This allows us to abstract the operations
 *  to  a utility class which also inherits IRunnableWithProgress that allows use of
 * progress bar
 */

From source file org.eclipse.cft.server.ui.internal.HostnameValidator.java

/**
 * Validator to check if the hostname is already taken in specified domain
 * 
 */
public class HostnameValidator implements IRunnableWithProgress {

From source file org.eclipse.compare.CompareEditorInput.java

/**
 * A compare operation which can present its results in a special editor.
 * Running the compare operation and presenting the results in a compare editor
 * are combined in one class because it allows a client to keep the implementation
 * all in one place while separating it from the innards of a specific UI implementation of compare/merge.
 * <p>

From source file org.eclipse.compare.internal.Worker.java

/**
 * A worker performs a set of tasks in order and accumulates any errors
 * that may have occurred. If the same task is queued multiple times,
 * the last occurrence will be run. If a task is queued while it is
 * running, the running task will be canceled and the task added
 * to the end of the work queue.