|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.ui.commands.AbstractHandler
org.eclipse.ui.commands.ActionHandler
public final class ActionHandler
This class adapts instances of IAction to
IHandler.
ActionHandler| Constructor Summary | |
|---|---|
ActionHandler(IAction action)
Deprecated. Creates a new instance of this class given an instance of IAction. |
|
| Method Summary | |
|---|---|
void |
addHandlerListener(IHandlerListener handlerListener)
Deprecated. |
void |
dispose()
Deprecated. Removes the property change listener from the action. |
java.lang.Object |
execute(java.util.Map parameterValuesByName)
Deprecated. |
IAction |
getAction()
Deprecated. Returns the action associated with this handler |
java.util.Map |
getAttributeValuesByName()
Deprecated. This simply return an empty map. |
void |
removeHandlerListener(IHandlerListener handlerListener)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class org.eclipse.ui.commands.AbstractHandler |
|---|
execute, fireHandlerChanged, fireHandlerChanged, hasListeners, isEnabled, isHandled |
| Methods inherited from class org.eclipse.core.commands.AbstractHandler |
|---|
addHandlerListener, removeHandlerListener, setBaseEnabled, setEnabled |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActionHandler(IAction action)
IAction.
action - the action. Must not be null.| Method Detail |
|---|
public void addHandlerListener(IHandlerListener handlerListener)
addHandlerListener in class AbstractHandlerIHandler.addHandlerListener(org.eclipse.ui.commands.IHandlerListener)public void dispose()
dispose in interface IHandlerdispose in class AbstractHandlerIHandler.dispose()
public java.lang.Object execute(java.util.Map parameterValuesByName)
throws ExecutionException
ExecutionExceptionpublic IAction getAction()
public java.util.Map getAttributeValuesByName()
AbstractHandler
getAttributeValuesByName in class AbstractHandlerIHandler.getAttributeValuesByName()public void removeHandlerListener(IHandlerListener handlerListener)
removeHandlerListener in class AbstractHandlerIHandler.removeHandlerListener(org.eclipse.ui.commands.IHandlerListener)public final java.lang.String toString()
toString in class java.lang.Object
|
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.