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 SummaryFields inherited from class org.eclipse.e4.core.commands.internal.HandlerServiceHandlercommandId, currentStateHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the label for this handler.voidupdateElement(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.HandlerServiceHandleraddState, dispose, execute, fireHandlerChanged, getExecutionContext, handleStateChange, isEnabled, isHandled, overrideEnabled, removeState, setEnabled, toStringMethods inherited from class org.eclipse.core.commands.AbstractHandlerWithStategetState, getStateIdsMethods inherited from class org.eclipse.core.commands.AbstractHandleraddHandlerListener, hasListeners, removeHandlerListener, setBaseEnabledMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- 
Constructor Details- 
WorkbenchHandlerServiceHandler
 
- 
- 
Method Details
- 
getHandlerLabelDescription copied from interface:IHandlerReturn 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:
- getHandlerLabelin interface- IHandler
- Returns:
- name of the Handler, can be null