abstractpublic class AbstractHandler extends org.eclipse.core.commands.AbstractHandler implements IHandler(Code)
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
AbstractHandler.fireHandlerChanged(HandlerEvent) when the handler
changes. Subclasses should also override
AbstractHandler.getAttributeValuesByName if they have any
attributes.
since: 3.0 See Also: org.eclipse.core.commands.AbstractHandler
fireHandlerChanged(HandlerEvent handlerEvent) Fires an event to all registered listeners describing changes to this
instance.
Parameters: handlerEvent - the event describing changes to this instance.
The default implementation does nothing. Subclasses who attach listeners
to other objects are encouraged to detach them in this method.
See Also:org.eclipse.ui.commands.IHandler.dispose
Fires an event to all registered listeners describing changes to this
instance.
Parameters: handlerEvent - the event describing changes to this instance. Must not benull.
Returns true iff there is one or more IHandlerListeners attached to this
AbstractHandler.
true iff there is one or more IHandlerListeners attached to thisAbstractHandler since: 3.1