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

# Klasse SelectionListenerAction<T>

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.ui.actions.BaseSelectionListenerAction
org.eclipse.net4j.util.ui.actions.SelectionListenerAction<T>

Alle implementierten Schnittstellen:
  `IAction`, `ISelectionChangedListener`

public abstract class SelectionListenerAction<T> extends BaseSelectionListenerAction

Seit:
  3.4
Autor:
  Christian W. Damus (CEA LIST)

## Feldübersicht

### 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
`SelectionListenerAction(String text)`
`SelectionListenerAction(String text, ImageDescriptor imageDescriptor)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected T`
`getSelectedObject()`
`protected abstract Class<T>`
`getType()`
`protected boolean`
`updateSelection(IStructuredSelection selection)`

### Von Klasse geerbte Methoden org.eclipse.ui.actions.BaseSelectionListenerAction

`clearCache, getStructuredSelection, runWithEvent, selectionChanged, selectionChanged`

### 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, run, 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

### SelectionListenerAction

public SelectionListenerAction(String text)

### SelectionListenerAction

public SelectionListenerAction(String text, ImageDescriptor imageDescriptor)

## Methodendetails

### updateSelection

protected boolean updateSelection(IStructuredSelection selection)

Setzt außer Kraft:
  `updateSelection` in Klasse `BaseSelectionListenerAction`

### getSelectedObject

protected T getSelectedObject()

### getType

protected abstract Class<T> getType()