|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExecutionListener
A listener to the execution of commands. This listener will be notified if a command is about to execute, and when that execution completes. It is not possible for the listener to prevent the execution, only to respond to it in some way.
| Method Summary | |
|---|---|
void |
notHandled(java.lang.String commandId,
NotHandledException exception)
Notifies the listener that an attempt was made to execute a command with no handler. |
void |
postExecuteFailure(java.lang.String commandId,
ExecutionException exception)
Notifies the listener that a command has failed to complete execution. |
void |
postExecuteSuccess(java.lang.String commandId,
java.lang.Object returnValue)
Notifies the listener that a command has completed execution successfully. |
void |
preExecute(java.lang.String commandId,
ExecutionEvent event)
Notifies the listener that a command is about to execute. |
| Method Detail |
|---|
void notHandled(java.lang.String commandId,
NotHandledException exception)
commandId - The identifier of command that is not handled; never
nullexception - The exception that occurred; never null.
void postExecuteFailure(java.lang.String commandId,
ExecutionException exception)
commandId - The identifier of the command that has executed; never
null.exception - The exception that occurred; never null.
void postExecuteSuccess(java.lang.String commandId,
java.lang.Object returnValue)
commandId - The identifier of the command that has executed; never
null.returnValue - The return value from the command; may be null.
void preExecute(java.lang.String commandId,
ExecutionEvent event)
commandId - The identifier of the command that is about to execute, never
null.event - The event that will be passed to the execute
method; never null.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.