TPTP 4.2.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.action.model
Class FeatureChildrenSelectionAction

java.lang.Object
  extended byorg.eclipse.core.commands.common.EventManager
      extended byorg.eclipse.jface.action.AbstractAction
          extended byorg.eclipse.jface.action.Action
              extended byorg.eclipse.ui.actions.BaseSelectionListenerAction
                  extended byorg.eclipse.ui.actions.SelectionListenerAction
                      extended byorg.eclipse.hyades.test.ui.internal.model.ui.ChildrenSelectionAction
                          extended byorg.eclipse.hyades.test.ui.action.model.FeatureChildrenSelectionAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.jface.viewers.ISelectionChangedListener
Direct Known Subclasses:
MoveFeatureChildrenDownAction, MoveFeatureChildrenUpAction, RemoveFeatureChildrenAction

public class FeatureChildrenSelectionAction
extends org.eclipse.hyades.test.ui.internal.model.ui.ChildrenSelectionAction

Since:
3.0

Field Summary
 
Fields inherited from interface 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
 
Constructor Summary
FeatureChildrenSelectionAction(java.lang.String text, org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EStructuralFeature feature)
          Constructs an instance of this class that handles the selection of EStructuralFeature of the specified parent.
 
Method Summary
 org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
           
protected  java.lang.Object getEStructuralFeatureValue()
          Returns the value of the EStructuralFeature of the parent or null if either the parent or EStructuralFeature is null.
 org.eclipse.emf.ecore.EObject getParent()
           
protected  boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
           
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.model.ui.ChildrenSelectionAction
actionPerformed, dispose, getChildren, getStructuredViewer, setActionPerformed, setStructuredViewer
 
Methods inherited from class org.eclipse.ui.actions.SelectionListenerAction
clearCache, getSelectedNonResources, getSelectedResources, resourceIsType, selectionIsOfType
 
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
 
Methods inherited from class 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
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

FeatureChildrenSelectionAction

public FeatureChildrenSelectionAction(java.lang.String text,
                                      org.eclipse.emf.ecore.EObject parent,
                                      org.eclipse.emf.ecore.EStructuralFeature feature)
Constructs an instance of this class that handles the selection of EStructuralFeature of the specified parent.

Parameters:
text -
parent -
feature -
Method Detail

getEStructuralFeature

public org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()

getParent

public org.eclipse.emf.ecore.EObject getParent()

getEStructuralFeatureValue

protected java.lang.Object getEStructuralFeatureValue()
Returns the value of the EStructuralFeature of the parent or null if either the parent or EStructuralFeature is null.


updateSelection

protected boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
See Also:
BaseSelectionListenerAction.updateSelection(org.eclipse.jface.viewers.IStructuredSelection)

TPTP 4.2.0 Testing Tools Project
Public API Specification