|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ui.commands.AbstractHandler
This class is a partial implementation of IHandler. This abstract implementation provides support for handler listeners. You should subclass from this method unless you want to implement your own listener support. Subclasses should call fireHandlerChanged(HandlerEvent)when the handler changes. Subclasses should also override getAttributeValuesByName()if they have any attributes.
Constructor Summary | |
AbstractHandler()
|
Method Summary | |
void | addHandlerListener(IHandlerListener handlerListener)
Registers an instance of IHandlerListener to listen for changes to properties of this instance. |
void | dispose()
The default implementation does nothing. |
protected void | fireHandlerChanged(HandlerEvent handlerEvent)
Fires an event to all registered listeners describing changes to this instance. |
Map | getAttributeValuesByName()
This simply return an empty map. |
void | removeHandlerListener(IHandlerListener handlerListener)
Unregisters an instance of IPropertyListener listening for changes to properties of this instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.commands.IHandler |
execute |
Constructor Detail |
public AbstractHandler()
Method Detail |
public void addHandlerListener(IHandlerListener handlerListener)
public void dispose()
protected void fireHandlerChanged(HandlerEvent handlerEvent)
public Map getAttributeValuesByName()
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.