Package org.eclipse.net4j.util.ui.actions

# Klasse ToggleAction

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.net4j.util.ui.actions.SafeAction
org.eclipse.net4j.util.ui.actions.ToggleAction

Alle implementierten Schnittstellen:
  `IAction`

public abstract class ToggleAction extends SafeAction

Seit:
  3.16
Autor:
  Eike Stepper

## Feldübersicht

### Von Klasse geerbte Felder org.eclipse.net4j.util.ui.actions.SafeAction

`INTERACTIVE`

### Von Schnittstelle geerbte Felder org.eclipse.jface.action.IAction

`AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ToggleAction(String text, ImageDescriptor imageDescriptor, OMPreference<Boolean> preference)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected abstract void`
`run(boolean checked)`
`protected final void`
`safeRun()`

### Von Klasse geerbte Methoden org.eclipse.net4j.util.ui.actions.SafeAction

`getEvent, getShell, run, runWithEvent`

### Von Klasse geerbte Methoden org.eclipse.jface.action.Action

`convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText`

### Von Klasse geerbte Methoden org.eclipse.jface.action.AbstractAction

`addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener`

### Von Klasse geerbte Methoden org.eclipse.core.commands.common.EventManager

`addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Konstruktordetails

### ToggleAction

public ToggleAction(String text, ImageDescriptor imageDescriptor, OMPreference<Boolean> preference)

## Methodendetails

### safeRun

protected final void safeRun() throws Exception

Angegeben von:
  `safeRun` in Klasse `SafeAction`
Löst aus:
  `Exception`

### run

protected abstract void run(boolean checked)