Class MenuElementImpl

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, MMenuElement, 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:
MenuImpl, MenuSeparatorImpl

public abstract class MenuElementImpl extends UIElementImpl implements MMenuElement
An implementation of the model object 'Element'.

The following features are implemented:

Since:
1.0
  • Field Details

  • Constructor Details

    • MenuElementImpl

      protected MenuElementImpl()
  • Method Details

    • eStaticClass

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

      public String getLabel()
      Specified by:
      getLabel in interface MUILabel
      Returns:
      the value of the 'Label' attribute.
      Since:
      1.0
      See Also:
    • setLabel

      public void setLabel(String newLabel)
      Specified by:
      setLabel in interface MUILabel
      Parameters:
      newLabel - the new value of the 'Label' attribute.
      Since:
      1.0
      See Also:
    • getIconURI

      public String getIconURI()
      Specified by:
      getIconURI in interface MUILabel
      Returns:
      the value of the 'Icon URI' attribute.
      Since:
      1.0
      See Also:
    • setIconURI

      public void setIconURI(String newIconURI)
      Specified by:
      setIconURI in interface MUILabel
      Parameters:
      newIconURI - the new value of the 'Icon URI' attribute.
      Since:
      1.0
      See Also:
    • getTooltip

      public String getTooltip()
      Specified by:
      getTooltip in interface MUILabel
      Returns:
      the value of the 'Tooltip' attribute.
      Since:
      1.0
      See Also:
    • setTooltip

      public void setTooltip(String newTooltip)
      Specified by:
      setTooltip in interface MUILabel
      Parameters:
      newTooltip - the new value of the 'Tooltip' attribute.
      Since:
      1.0
      See Also:
    • getLocalizedLabel

      public String getLocalizedLabel()
      Specified by:
      getLocalizedLabel in interface MUILabel
      Returns:
      the value of the 'Localized Label' attribute.
    • getLocalizedTooltip

      public String getLocalizedTooltip()
      Specified by:
      getLocalizedTooltip in interface MUILabel
      Returns:
      the value of the 'Localized Tooltip' attribute.
    • 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 UIElementImpl
      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 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
    • eBaseStructuralFeatureID

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

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

      public int eDerivedOperationID(int baseOperationID, Class<?> baseClass)
      Specified by:
      eDerivedOperationID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eDerivedOperationID in class UIElementImpl
    • 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 UIElementImpl
      Throws:
      InvocationTargetException
    • toString

      public String toString()
      Overrides:
      toString in class UIElementImpl