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, preUnregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postRegister, postUnregister, preRegister, preUnregister
protected CommandExecutionAdapter()
public void preExecute(java.lang.String identifier, org.eclipse.core.commands.ExecutionEvent event)
preExecute
in interface org.eclipse.core.commands.IExecutionListener
public void postExecuteSuccess(java.lang.String identifier, java.lang.Object result)
postExecuteSuccess
in interface org.eclipse.core.commands.IExecutionListener
public void postExecuteFailure(java.lang.String identifier, org.eclipse.core.commands.ExecutionException exception)
postExecuteFailure
in interface org.eclipse.core.commands.IExecutionListener
public void notDefined(java.lang.String identifier, org.eclipse.core.commands.common.NotDefinedException exception)
notDefined
in interface org.eclipse.core.commands.IExecutionListenerWithChecks
public void notEnabled(java.lang.String identifier, org.eclipse.core.commands.NotEnabledException exception)
notEnabled
in interface org.eclipse.core.commands.IExecutionListenerWithChecks
public void notHandled(java.lang.String identifier, org.eclipse.core.commands.NotHandledException exception)
notHandled
in interface org.eclipse.core.commands.IExecutionListener