@Deprecated public final class ActionHandler extends AbstractHandler
IAction
to
IHandler
.ActionHandler
Constructor and Description |
---|
ActionHandler(IAction action)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addHandlerListener(IHandlerListener handlerListener)
Deprecated.
|
void |
dispose()
Deprecated.
|
Object |
execute(Map parameterValuesByName)
Deprecated.
|
IAction |
getAction()
Deprecated.
|
Map |
getAttributeValuesByName()
Deprecated.
|
void |
removeHandlerListener(IHandlerListener handlerListener)
Deprecated.
|
String |
toString()
Deprecated.
|
execute, fireHandlerChanged, fireHandlerChanged, hasListeners, isEnabled, isHandled
addHandlerListener, removeHandlerListener, setBaseEnabled, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
@Deprecated public ActionHandler(IAction action)
IAction
.action
- the action. Must not be null
.@Deprecated public void addHandlerListener(IHandlerListener handlerListener)
IHandler
IHandlerListener
to listen for
changes to properties of this instance.addHandlerListener
in class AbstractHandler
handlerListener
- the instance to register. Must not be null
. If
an attempt is made to register an instance which is already
registered with this instance, no operation is performed.IHandler.addHandlerListener(org.eclipse.ui.commands.IHandlerListener)
@Deprecated public void dispose()
dispose
in interface IHandler
dispose
in class AbstractHandler
IHandler.dispose()
@Deprecated public Object execute(Map parameterValuesByName) throws ExecutionException
IHandler
parameterValuesByName
- the map of parameter values by name. Reserved for future use,
must be null
.null
.ExecutionException
- if an exception occurred during execution.@Deprecated public IAction getAction()
@Deprecated public Map getAttributeValuesByName()
AbstractHandler
getAttributeValuesByName
in class AbstractHandler
null
. If this map is not
empty, its collection of keys is guaranteed to only contain
instances of String
.IHandler.getAttributeValuesByName()
@Deprecated public void removeHandlerListener(IHandlerListener handlerListener)
IHandler
IPropertyListener
listening for
changes to properties of this instance.removeHandlerListener
in class AbstractHandler
handlerListener
- the instance to unregister. Must not be null
.
If an attempt is made to unregister an instance which is not
already registered with this instance, no operation is
performed.IHandler.removeHandlerListener(org.eclipse.ui.commands.IHandlerListener)
@Deprecated public final String toString()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.