public class ToggleCommandHandler extends AbstractHandler
| Constructor and Description |
|---|
ToggleCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ExecutionEvent event) |
static boolean |
getToggleState(String commandID) |
static void |
setToggleState(String commandID,
boolean toggleState) |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic Object execute(ExecutionEvent event) throws ExecutionException
ExecutionExceptionpublic static boolean getToggleState(String commandID)
public static void setToggleState(String commandID, boolean toggleState)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html