Package org.eclipse.ui.internal
Class WorkbenchHandlerServiceHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.core.commands.AbstractHandlerWithState
org.eclipse.e4.core.commands.internal.HandlerServiceHandler
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler
- All Implemented Interfaces:
IHandler
,IHandler2
,IObjectWithState
,IStateListener
,IElementUpdater
public class WorkbenchHandlerServiceHandler
extends HandlerServiceHandler
implements IElementUpdater
- Since:
- 3.5
-
Field Summary
Fields inherited from class org.eclipse.e4.core.commands.internal.HandlerServiceHandler
commandId, currentStateHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the label for this handler.void
updateElement
(UIElement element, Map parameters) Whenever the elements for a command are refreshed, this method is called on the active handler for that command.Methods inherited from class org.eclipse.e4.core.commands.internal.HandlerServiceHandler
addState, dispose, execute, fireHandlerChanged, getExecutionContext, handleStateChange, isEnabled, isHandled, overrideEnabled, removeState, setEnabled, toString
Methods inherited from class org.eclipse.core.commands.AbstractHandlerWithState
getState, getStateIds
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, hasListeners, removeHandlerListener, setBaseEnabled
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
WorkbenchHandlerServiceHandler
-
-
Method Details
-
getHandlerLabel
Description copied from interface:IHandler
Return the label for this handler. The handler can implement this method to provide a more dynamic label according to the actual action that is performed. When returning null, callers may instead use the invoking command label or a generic label.- Specified by:
getHandlerLabel
in interfaceIHandler
- Returns:
- name of the Handler, can be null