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.contribution.xref.ui.IDeferredXReference.java

/**
 * A cross reference where calculating the set of associates is an
 * expensive operation. The <code>IRunnableWithProgress.run()</code> 
 * operation will be called at a client's (often end-user's) request.
 * <p>
 * The set of associates for this cross reference should be evaluated in

From source file org.eclipse.core.tools.search.FindUnusedMembers.java

public class FindUnusedMembers implements IRunnableWithProgress {

    public static interface IResultReporter {
        void unusedElementFound(IMember member) throws CoreException;
    }

From source file org.eclipse.debug.ui.actions.ExportBreakpointsOperation.java

/**
 * Exports breakpoints to a file or string buffer.
 * <p>
 * This class may be instantiated.
 * <p>
 * @since 3.2

From source file org.eclipse.debug.ui.actions.ImportBreakpointsOperation.java

/**
 * Imports breakpoints from a file or string buffer into the workspace.
 * <p>
 * This class may be instantiated.
 * <p>
 * @since 3.2

From source file org.eclipse.dltk.internal.corext.buildpath.BuildpathModifierOperation.java

/**
 * Abstract class which represents buildpath modifier operation, this is, 
 * Operation that call methods on <code>BuildpathModifier</code>.
 */
public abstract class BuildpathModifierOperation extends BuildpathModifier implements IRunnableWithProgress {
    protected IBuildpathInformationProvider fInformationProvider;

From source file org.eclipse.dltk.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.dltk.mod.internal.corext.buildpath.BuildpathModifierOperation.java

/**
 * Abstract class which represents buildpath modifier operation, this is, 
 * Operation that call methods on <code>BuildpathModifier</code>.
 */
public abstract class BuildpathModifierOperation extends BuildpathModifier implements IRunnableWithProgress {
    protected IBuildpathInformationProvider fInformationProvider;

From source file org.eclipse.dltk.mod.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.e4.demo.simpleide.internal.datatransfer.actions.WorkspaceModifyOperation.java

/**
 * An operation which potentially makes changes to the workspace. All resource
 * modification should be performed using this operation. The primary
 * consequence of using this operation is that events which typically occur as a
 * result of workspace changes (such as the firing of resource deltas,
 * performance of autobuilds, etc.) are generally deferred until the outermost operation

From source file org.eclipse.ease.discovery.ui.internal.common.PrepareInstallProfileJob.java

/**
 * A job that configures a p2 {@link #getInstallAction() install action} for
 * installing one or more {@link ConnectorDescriptor connectors}. The bulk of
 * the installation work is done by p2; this class just sets up the p2
 * repository metadata and selects the appropriate features to install. After
 * running the job the {@link #getInstallAction() install action} must be run to