Class ElementContainerImpl<T extends MUIElement>

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
All Implemented Interfaces:
MApplicationElement, MElementContainer<T>, MLocalizable, MUIElement, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
ApplicationImpl, GenericStackImpl, GenericTileImpl, GenericTrimContainerImpl, MenuContributionImpl, PerspectiveImpl, ToolBarContributionImpl, ToolBarImpl, TrimContributionImpl, WindowImpl

public abstract class ElementContainerImpl<T extends MUIElement> extends UIElementImpl implements MElementContainer<T>
An implementation of the model object 'Element Container'.

The following features are implemented:

Since:
1.0
  • Field Details

  • Constructor Details

    • ElementContainerImpl

      protected ElementContainerImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class UIElementImpl
    • getChildren

      public List<T> getChildren()
      Specified by:
      getChildren in interface MElementContainer<T extends MUIElement>
      Returns:
      the value of the 'Children' containment reference list.
      See Also:
    • getSelectedElement

      public T getSelectedElement()
      Specified by:
      getSelectedElement in interface MElementContainer<T extends MUIElement>
      Returns:
      the value of the 'Selected Element' reference.
      See Also:
    • basicGetSelectedElement

      public T basicGetSelectedElement()
    • setSelectedElement

      public void setSelectedElement(T newSelectedElement)
      Description copied from interface: MElementContainer
      Sets the value of the 'Selected Element' reference.
      Specified by:
      setSelectedElement in interface MElementContainer<T extends MUIElement>
      Parameters:
      newSelectedElement - the new value of the 'Selected Element' reference.
      See Also:
    • eInverseAdd

      public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseAdd in class UIElementImpl
    • eInverseRemove

      public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseRemove in class UIElementImpl
    • eGet

      public Object eGet(int featureID, boolean resolve, boolean coreType)
      Specified by:
      eGet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eGet in class UIElementImpl
    • eSet

      public void eSet(int featureID, Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class UIElementImpl
    • eUnset

      public void eUnset(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class UIElementImpl
    • eIsSet

      public boolean eIsSet(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class UIElementImpl