|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.ui.editors.text.WorkspaceOperationRunner
| Constructor Summary | |
WorkspaceOperationRunner()
|
|
| Method Summary | |
IProgressMonitor |
getProgressMonitor()
Returns the progress monitor. |
void |
run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable)
Runs the given IRunnableWithProgress in this context. |
void |
run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable,
ISchedulingRule schedulingRule)
|
void |
setProgressMonitor(IProgressMonitor progressMonitor)
Sets the progress monitor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkspaceOperationRunner()
| Method Detail |
public void setProgressMonitor(IProgressMonitor progressMonitor)
progressMonitor - the progress monitor to setpublic IProgressMonitor getProgressMonitor()
NullProgressMonitor.
public void run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable)
throws InvocationTargetException,
InterruptedException
IRunnableContextIRunnableWithProgress in this context.
For example, if this is a ProgressMonitorDialog then the runnable
is run using this dialog's progress monitor.
run in interface IRunnableContextfork - true if the runnable should be run in a separate thread,
and false to run in the same threadcancelable - true to enable the cancelation, and
false to make the operation uncancellablerunnable - the runnable to run
InterruptedException - propagated by the context if the runnable
acknowledges cancelation by throwing this exception. This should not be thrown
if cancelable is false.
InvocationTargetException - wraps any exception or error which occurs
while running the runnable
public void run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable,
ISchedulingRule schedulingRule)
throws InvocationTargetException,
InterruptedException
InvocationTargetException
InterruptedException
|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||