org.eclipse.cdt.internal.ui.util
Class BusyIndicatorRunnableContext
java.lang.Object
org.eclipse.cdt.internal.ui.util.BusyIndicatorRunnableContext
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableContext
public class BusyIndicatorRunnableContext
- extends java.lang.Object
- implements org.eclipse.jface.operation.IRunnableContext
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 fork= true
to the context's run method. Furthermore this context doesn't provide
any UI to cancel the operation.
Method Summary |
void |
run(boolean fork,
boolean cancelable,
org.eclipse.jface.operation.IRunnableWithProgress runnable)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusyIndicatorRunnableContext
public BusyIndicatorRunnableContext()
run
public void run(boolean fork,
boolean cancelable,
org.eclipse.jface.operation.IRunnableWithProgress runnable)
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException
- Specified by:
run
in interface org.eclipse.jface.operation.IRunnableContext
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException