public final class TextZoomOutHandler extends AbstractHandler
Constructor and Description |
---|
TextZoomOutHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ExecutionEvent event)
Executes with the map of parameter values by name.
|
void |
setEnabled(Object evaluationContext)
Called by the framework to allow the handler to update its enabled state
by extracting the same information available at execution time.
|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public Object execute(ExecutionEvent event) throws ExecutionException
IHandler
event
- An event containing all the information about the current
state of the application; must not be null
.null
.ExecutionException
- if an exception occurred during execution.public void setEnabled(Object evaluationContext)
AbstractHandler
setEnabled
in interface IHandler2
setEnabled
in class AbstractHandler
evaluationContext
- the application context. May be null
AbstractHandler.setBaseEnabled(boolean)
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.