public class CommandExecutionAdapter extends Adapter implements CommandExecutionListener
CommandExecutionListener.
The methods in this class are empty. This class exists
as convenience for creating listener objects.
Extend this class to create a CommandExecutionListener
and override the methods for the events of interest.
Adapter,
CommandExecutionListener| Modifier | Constructor and Description |
|---|---|
protected |
CommandExecutionAdapter()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notDefined(java.lang.String identifier,
org.eclipse.core.commands.common.NotDefinedException exception) |
void |
notEnabled(java.lang.String identifier,
org.eclipse.core.commands.NotEnabledException exception) |
void |
notHandled(java.lang.String identifier,
org.eclipse.core.commands.NotHandledException exception) |
void |
postExecuteFailure(java.lang.String identifier,
org.eclipse.core.commands.ExecutionException exception) |
void |
postExecuteSuccess(java.lang.String identifier,
java.lang.Object result) |
void |
preExecute(java.lang.String identifier,
org.eclipse.core.commands.ExecutionEvent event) |
postRegister, postUnregister, preRegister, preUnregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostRegister, postUnregister, preRegister, preUnregisterprotected CommandExecutionAdapter()
public void preExecute(java.lang.String identifier,
org.eclipse.core.commands.ExecutionEvent event)
preExecute in interface org.eclipse.core.commands.IExecutionListenerpublic void postExecuteSuccess(java.lang.String identifier,
java.lang.Object result)
postExecuteSuccess in interface org.eclipse.core.commands.IExecutionListenerpublic void postExecuteFailure(java.lang.String identifier,
org.eclipse.core.commands.ExecutionException exception)
postExecuteFailure in interface org.eclipse.core.commands.IExecutionListenerpublic void notDefined(java.lang.String identifier,
org.eclipse.core.commands.common.NotDefinedException exception)
notDefined in interface org.eclipse.core.commands.IExecutionListenerWithCheckspublic void notEnabled(java.lang.String identifier,
org.eclipse.core.commands.NotEnabledException exception)
notEnabled in interface org.eclipse.core.commands.IExecutionListenerWithCheckspublic void notHandled(java.lang.String identifier,
org.eclipse.core.commands.NotHandledException exception)
notHandled in interface org.eclipse.core.commands.IExecutionListener