public abstract class CommandWrapper extends Object implements Command
This class is not intended to be subclassed by clients.
CommandRunner
Constructor and Description |
---|
CommandWrapper() |
public void run(CommandRunner runner) throws org.eclipse.core.runtime.CoreException
Command
CommandRunner
,
therefore clients should never call this method directly.
Clients are expected to call CommandRunner.run(myCommand)
.run
in interface Command
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