|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ExternalActionManager.IExecuteCallback
A callback for executing execution events. Allows
ActionContributionItems to fire useful events.
Clients must not implement this interface and must not extend.
| Method Summary | |
|---|---|
void |
notDefined(IAction action,
NotDefinedException exception)
Fires a NotDefinedException because the action was not
defined. |
void |
notEnabled(IAction action,
NotEnabledException exception)
Fires a NotEnabledException because the action was not
enabled. |
void |
postExecuteFailure(IAction action,
ExecutionException exception)
Creates an ExecutionException when the action returned
a failure. |
void |
postExecuteSuccess(IAction action,
java.lang.Object returnValue)
Fires an execution event when the action returned a success. |
void |
preExecute(IAction action,
Event e)
Fires an execution event before an action is run. |
| Method Detail |
|---|
void notEnabled(IAction action,
NotEnabledException exception)
NotEnabledException because the action was not
enabled.
action - The action contribution that caused the exception,
never null.exception - The NotEnabledException, never null.
void notDefined(IAction action,
NotDefinedException exception)
NotDefinedException because the action was not
defined.
action - The action contribution that caused the exception,
never null.exception - The NotDefinedException, never null.
void preExecute(IAction action,
Event e)
action - The action contribution that requires an
execution event to be fired. Cannot be null.e - The SWT Event, may be null.
void postExecuteSuccess(IAction action,
java.lang.Object returnValue)
action - The action contribution that requires an
execution event to be fired. Cannot be null.returnValue - The command's result, may be null.
void postExecuteFailure(IAction action,
ExecutionException exception)
ExecutionException when the action returned
a failure.
action - The action contribution that caused the exception,
never null.exception - The ExecutionException, 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.