|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A listener to the execution of commands. This listener will be notified if someone tries to execute a command and it is not enabled or not defined. The listener also 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.
Clients may implement, but must not extend.
Method Summary | |
---|---|
void |
notDefined(String commandId,
NotDefinedException exception)
Notifies the listener that an attempt was made to execute a command that is not defined. |
void |
notEnabled(String commandId,
NotEnabledException exception)
Notifies the listener that an attempt was made to execute a command that is disabled. |
Methods inherited from interface org.eclipse.core.commands.IExecutionListener |
---|
notHandled, postExecuteFailure, postExecuteSuccess, preExecute |
Method Detail |
public void notDefined(String commandId, NotDefinedException exception)
commandId
- The identifier of command that is not defined; never
null
exception
- The exception that occurred; never null
.public void notEnabled(String commandId, NotEnabledException exception)
commandId
- The identifier of command that is not enabled; never
null
exception
- The exception that occurred; never null
.
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.