Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.operations
Interface ISystemRunnableContext

All Known Implementing Classes:
SystemJobRunnableContext, SystemProgressDialogRunnableContext

public interface ISystemRunnableContext

Interface for a system runnable context.


Method Summary
 Shell getShell()
          Returns a shell that can be used to prompt the user.
 void run(IRunnableWithProgress runnable)
          Runs the given runnable in the context of the receiver.
 

Method Detail

run

public void run(IRunnableWithProgress runnable)
         throws InvocationTargetException,
                InterruptedException
Runs the given runnable in the context of the receiver. By default, the progress is provided by the active workbench window but subclasses may override this to provide progress in some other way (through Progress view using Eclipse Job support).

Throws:
InvocationTargetException
InterruptedException

getShell

public Shell getShell()
Returns a shell that can be used to prompt the user.

Returns:
a shell.

Remote Systems
v6.4.1

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.