public interface ISafeRunnableRunner
Clients may provide their own implementation to change how safe runnables are run from within JFace.
SafeRunnable.getRunner()
,
SafeRunnable.setRunner(ISafeRunnableRunner)
,
SafeRunnable.run(ISafeRunnable)
Modifier and Type | Method and Description |
---|---|
void |
run(ISafeRunnable code)
Runs the runnable.
|
void run(ISafeRunnable code)
ISafeRunnableRunners
must catch any exception
thrown by the ISafeRunnable
and pass the exception to
ISafeRunnable.handleException()
.code
- the code executed as a save runnableSafeRunnable.run(ISafeRunnable)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.