com.ibm.etools.systems.model.impl
Class SystemRunnableContextWrapper
java.lang.Object
com.ibm.etools.systems.model.impl.SystemRunnableContextWrapper
- public class SystemRunnableContextWrapper
- extends Object
Runnable context to reuse an existing progress monitor. This allows us to easily
resuse a progress monitor when we know that a larger task may invoke other code
that also uses progress montiors but doesn't know that it is actually a subtask.
Note: Any task that reuses the monitor must be a proper subtask of the parent
task. i.e The subtask must start after the parent task and stop before the parent
task.
Method Summary |
void |
run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemRunnableContextWrapper
public SystemRunnableContextWrapper(IRunnableContext runnableContext)
- Constructor
run
public void run(boolean fork,
boolean cancelable,
IRunnableWithProgress runnable)
throws InvocationTargetException,
InterruptedException
- Throws:
InvocationTargetException
InterruptedException
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.