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, MItem, MMenuElement, MMenuItem, MLocalizable, MUIElement, MUILabel, 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:
DirectMenuItemImpl, DynamicMenuContributionImpl, HandledMenuItemImpl

public abstract class MenuItemImpl extends ItemImpl implements MMenuItem
An implementation of the model object 'Item'.

The following features are implemented:

Since:
1.0
  • Field Details

  • Constructor Details

    • MenuItemImpl

      protected MenuItemImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class ItemImpl
    • getMnemonics

      public String getMnemonics()
      Specified by:
      getMnemonics in interface MMenuElement
      Returns:
      the value of the 'Mnemonics' attribute.
      See Also:
    • setMnemonics

      public void setMnemonics(String newMnemonics)
      Specified by:
      setMnemonics in interface MMenuElement
      Parameters:
      newMnemonics - the new value of the 'Mnemonics' attribute.
      See Also:
    • getLocalizedMnemonics

      public String getLocalizedMnemonics()
      This class does not support this feature.
      Specified by:
      getLocalizedMnemonics in interface MMenuElement
    • updateLocalization

      public void updateLocalization()
      Specified by:
      updateLocalization in interface MLocalizable
      Overrides:
      updateLocalization in class ItemImpl
      Since:
      1.1
    • eGet

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

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

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

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

      public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
      Specified by:
      eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eBaseStructuralFeatureID in class ItemImpl
    • eDerivedStructuralFeatureID

      public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
      Specified by:
      eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eDerivedStructuralFeatureID in class ItemImpl
    • eDerivedOperationID

      public int eDerivedOperationID(int baseOperationID, Class<?> baseClass)
      Specified by:
      eDerivedOperationID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eDerivedOperationID in class ItemImpl
    • eInvoke

      public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException
      Specified by:
      eInvoke in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eInvoke in class ItemImpl
      Throws:
      InvocationTargetException
    • toString

      public String toString()
      Overrides:
      toString in class ItemImpl