org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document
Class WorkspaceOperationRunner
java.lang.Object
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.WorkspaceOperationRunner
- All Implemented Interfaces:
- IRunnableContext
public class WorkspaceOperationRunner
- extends java.lang.Object
- implements IRunnableContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceOperationRunner
public WorkspaceOperationRunner()
setProgressMonitor
public void setProgressMonitor(IProgressMonitor progressMonitor)
- Sets the progress monitor.
- Parameters:
progressMonitor
- the progress monitor to set
getProgressMonitor
public IProgressMonitor getProgressMonitor()
- Returns the progress monitor. It there is no progress monitor the monitor\
is set to the
NullProgressMonitor
.
- Returns:
- the progress monitor
run
public void run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable)
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException
- Specified by:
run
in interface IRunnableContext
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
run
public void run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable,
ISchedulingRule schedulingRule)
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.