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
org.openhab.core.model.sitemap.sitemap.impl.WidgetImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, Widget
Direct Known Subclasses:
LinkableWidgetImpl, NonLinkableWidgetImpl

public class WidgetImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements Widget
An implementation of the model object 'Widget'.

The following features are implemented:

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

    org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl

    Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The cached value of the 'Icon' attribute.
    protected static final String
    The default value of the 'Icon' attribute.
    protected org.eclipse.emf.common.util.EList<ColorArray>
    The cached value of the 'Icon Color' containment reference list.
    protected org.eclipse.emf.common.util.EList<IconRule>
    The cached value of the 'Icon Rules' containment reference list.
    protected String
    The cached value of the 'Item' attribute.
    protected static final String
    The default value of the 'Item' attribute.
    protected String
    The cached value of the 'Label' attribute.
    protected static final String
    The default value of the 'Label' attribute.
    protected org.eclipse.emf.common.util.EList<ColorArray>
    The cached value of the 'Label Color' containment reference list.
    protected static final String
    The default value of the 'Static Icon' attribute.
    protected String
    The cached value of the 'Static Icon' attribute.
    protected org.eclipse.emf.common.util.EList<ColorArray>
    The cached value of the 'Value Color' containment reference list.
    protected org.eclipse.emf.common.util.EList<VisibilityRule>
    The cached value of the 'Visibility' containment reference list.

    Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    eContainer

    Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET

    Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder

    NIL

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

    EOPPOSITE_FEATURE_BASE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
  • Method Summary

    Modifier and Type
    Method
    Description
    eGet(int featureID, boolean resolve, boolean coreType)
    org.eclipse.emf.common.notify.NotificationChain
    eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    boolean
    eIsSet(int featureID)
    void
    eSet(int featureID, Object newValue)
    protected org.eclipse.emf.ecore.EClass
    void
    eUnset(int featureID)
    org.eclipse.emf.common.util.EList<ColorArray>
    org.eclipse.emf.common.util.EList<IconRule>
    org.eclipse.emf.common.util.EList<ColorArray>
    org.eclipse.emf.common.util.EList<ColorArray>
    org.eclipse.emf.common.util.EList<VisibilityRule>
    void
    setIcon(String newIcon)
    void
    setItem(String newItem)
    void
    setLabel(String newLabel)
    void
    setStaticIcon(String newStaticIcon)

    Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    eBasicSetContainer, eInternalContainer

    Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

    dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings

    Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues

    Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    eNotificationRequired, eNotify

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

  • Constructor Details

    • WidgetImpl

      protected WidgetImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • getItem

      public String getItem()
      Specified by:
      getItem in interface Widget
      Returns:
      the value of the 'Item' attribute.
      See Also:
    • setItem

      public void setItem(String newItem)
      Specified by:
      setItem in interface Widget
      Parameters:
      newItem - the new value of the 'Item' attribute.
      See Also:
    • getLabel

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

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

      public String getIcon()
      Specified by:
      getIcon in interface Widget
      Returns:
      the value of the 'Icon' attribute.
      See Also:
    • setIcon

      public void setIcon(String newIcon)
      Specified by:
      setIcon in interface Widget
      Parameters:
      newIcon - the new value of the 'Icon' attribute.
      See Also:
    • getIconRules

      public org.eclipse.emf.common.util.EList<IconRule> getIconRules()
      Specified by:
      getIconRules in interface Widget
      Returns:
      the value of the 'Icon Rules' containment reference list.
      See Also:
    • getStaticIcon

      public String getStaticIcon()
      Specified by:
      getStaticIcon in interface Widget
      Returns:
      the value of the 'Static Icon' attribute.
      See Also:
    • setStaticIcon

      public void setStaticIcon(String newStaticIcon)
      Specified by:
      setStaticIcon in interface Widget
      Parameters:
      newStaticIcon - the new value of the 'Static Icon' attribute.
      See Also:
    • getLabelColor

      public org.eclipse.emf.common.util.EList<ColorArray> getLabelColor()
      Specified by:
      getLabelColor in interface Widget
      Returns:
      the value of the 'Label Color' containment reference list.
      See Also:
    • getValueColor

      public org.eclipse.emf.common.util.EList<ColorArray> getValueColor()
      Specified by:
      getValueColor in interface Widget
      Returns:
      the value of the 'Value Color' containment reference list.
      See Also:
    • getIconColor

      public org.eclipse.emf.common.util.EList<ColorArray> getIconColor()
      Specified by:
      getIconColor in interface Widget
      Returns:
      the value of the 'Icon Color' containment reference list.
      See Also:
    • getVisibility

      public org.eclipse.emf.common.util.EList<VisibilityRule> getVisibility()
      Specified by:
      getVisibility in interface Widget
      Returns:
      the value of the 'Visibility' containment reference list.
      See Also:
    • 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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eGet

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

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

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

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

      public String toString()
      Overrides:
      toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl