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, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public Object execute(ExecutionEvent event) throws ExecutionException
ExecutionException
public static boolean getToggleState(String commandID)
public static void setToggleState(String commandID, boolean toggleState)
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html