- All Superinterfaces:
- All Known Implementing Classes:
public interface IWorkspaceRunnable extends ICoreRunnableThis interface is structurally equivalent to
ICoreRunnable. New code should use
Clients may implement this interface.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
run(IProgressMonitor monitor)Executes this runnable.
void run(IProgressMonitor monitor) throws CoreExceptionDescription copied from interface:
ICoreRunnableExecutes this runnable.
The provided monitor can be used to report progress and respond to cancellation. If the progress monitor has been canceled, the runnable should finish its execution at the earliest convenience and throw an
CoreExceptionwith a status of severity
IStatus.CANCELhas the same effect as an
- Specified by:
monitor- a progress monitor, or
nullif progress reporting and cancellation are not desired. The monitor is only valid for the duration of the invocation of this method. Callers may call
IProgressMonitor.done()after this method returns or throws an exception, but this is not strictly required.
CoreException- if this operation fails
OperationCanceledException- if this operation is canceled