public interface ICoreRunnable
Clients may implement this interface.
void run(IProgressMonitor monitor) throws CoreException
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
CoreException with a status
IStatus.CANCEL has the same effect as
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. The receiver is not responsible for calling
IProgressMonitor.done()on the given monitor, and the caller must not rely on
IProgressMonitor.done()having been called by the receiver.
CoreException- if this operation fails
OperationCanceledException- if this operation is canceled
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.