public interface Command
This interface is not intended to be implemented by clients.
CommandRunner
Modifier and Type | Method and Description |
---|---|
void |
run(CommandRunner runner)
Executes the command.
|
void run(CommandRunner runner) throws org.eclipse.core.runtime.CoreException
CommandRunner
,
therefore clients should never call this method directly.
Clients are expected to call CommandRunner.run(myCommand)
.runner
- the runner to execute this commandorg.eclipse.core.runtime.CoreException
- if the command was not successfully executed.
Details on the cause might be found using the DoorsStatusCode
class on the exception status code.CommandRunner.run(Command)
,
DoorsStatusCode