|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A handler is the pluggable piece of a command that handles execution. Each command can have zero or more handlers associated with it (in general), of which only one will be active at any given moment in time. When the command is asked to execute, it will simply pass that request on to its active handler, if any.
This interface is not intended to be extended by clients.
Method Summary | |
void | addHandlerListener(IHandlerListener handlerListener)
Registers an instance of IHandlerListener to listen for changes to properties of this instance. |
void | dispose()
Disposes of this handler. |
Object | execute(Map parameterValuesByName)
Executes with the map of parameter values by name. |
Map | getAttributeValuesByName()
Returns the map of attribute values by name. |
void | removeHandlerListener(IHandlerListener handlerListener)
Unregisters an instance of IPropertyListener listening for changes to properties of this instance. |
Method Detail |
public void addHandlerListener(IHandlerListener handlerListener)
public void dispose()
public Object execute(Map parameterValuesByName) throws ExecutionException
public Map getAttributeValuesByName()
Notification is sent to all registered listeners if this property changes.
public void removeHandlerListener(IHandlerListener handlerListener)
|
Eclipse Platform Release 3.0 | ||||||||||
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, 2004. All rights reserved.