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, 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:
HandledItemImpl, MenuItemImpl, ToolItemImpl

public abstract class ItemImpl extends UIElementImpl implements MItem
An implementation of the model object 'Item'.

The following features are implemented:

Since:
1.0
  • Field Details

  • Constructor Details

    • ItemImpl

      protected ItemImpl()
  • 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.
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface MItem
      Returns:
      the value of the 'Enabled' attribute.
      See Also:
    • setEnabled

      public void setEnabled(boolean newEnabled)
      Specified by:
      setEnabled in interface MItem
      Parameters:
      newEnabled - the new value of the 'Enabled' attribute.
      See Also:
    • isSelected

      public boolean isSelected()
      Specified by:
      isSelected in interface MItem
      Returns:
      the value of the 'Selected' attribute.
      See Also:
    • setSelected

      public void setSelected(boolean newSelected)
      Specified by:
      setSelected in interface MItem
      Parameters:
      newSelected - the new value of the 'Selected' attribute.
      See Also:
    • getType

      public ItemType getType()
      Specified by:
      getType in interface MItem
      Returns:
      the value of the 'Type' attribute.
      See Also:
    • setType

      public void setType(ItemType newType)
      Specified by:
      setType in interface MItem
      Parameters:
      newType - the new value of the 'Type' attribute.
      See Also:
    • 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