Class ModelWidgetImpl
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.ModelWidgetImpl
- 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,ModelWidget
- Direct Known Subclasses:
ModelLinkableWidgetImpl,ModelNonLinkableWidgetImpl
public class ModelWidgetImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements ModelWidget
An implementation of the model object 'Model 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.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe cached value of the 'Icon' attribute.protected static final StringThe default value of the 'Icon' attribute.protected ModelColorArrayListThe cached value of the 'Icon Color' containment reference.protected ModelIconRuleListThe cached value of the 'Icon Rules' containment reference.protected StringThe cached value of the 'Item' attribute.protected static final StringThe default value of the 'Item' attribute.protected StringThe cached value of the 'Label' attribute.protected static final StringThe default value of the 'Label' attribute.protected ModelColorArrayListThe cached value of the 'Label Color' containment reference.protected static final StringThe default value of the 'Static Icon' attribute.protected StringThe cached value of the 'Static Icon' attribute.protected ModelColorArrayListThe cached value of the 'Value Color' containment reference.protected ModelVisibilityRuleListThe cached value of the 'Visibility' containment reference.Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetIconColor(ModelColorArrayList newIconColor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetIconRules(ModelIconRuleList newIconRules, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetLabelColor(ModelColorArrayList newLabelColor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetValueColor(ModelColorArrayList newValueColor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetVisibility(ModelVisibilityRuleList newVisibility, org.eclipse.emf.common.notify.NotificationChain msgs) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) getIcon()getItem()getLabel()voidvoidsetIconColor(ModelColorArrayList newIconColor) voidsetIconRules(ModelIconRuleList newIconRules) voidvoidvoidsetLabelColor(ModelColorArrayList newLabelColor) voidsetStaticIcon(String newStaticIcon) voidsetValueColor(ModelColorArrayList newValueColor) voidsetVisibility(ModelVisibilityRuleList newVisibility) toString()Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods 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, eSettingsMethods 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
ITEM_EDEFAULT
The default value of the 'Item' attribute.- See Also:
-
item
The cached value of the 'Item' attribute.- See Also:
-
LABEL_EDEFAULT
The default value of the 'Label' attribute.- See Also:
-
label
The cached value of the 'Label' attribute.- See Also:
-
ICON_EDEFAULT
The default value of the 'Icon' attribute.- See Also:
-
icon
The cached value of the 'Icon' attribute.- See Also:
-
iconRules
The cached value of the 'Icon Rules' containment reference.- See Also:
-
STATIC_ICON_EDEFAULT
The default value of the 'Static Icon' attribute.- See Also:
-
staticIcon
The cached value of the 'Static Icon' attribute.- See Also:
-
labelColor
The cached value of the 'Label Color' containment reference.- See Also:
-
valueColor
The cached value of the 'Value Color' containment reference.- See Also:
-
iconColor
The cached value of the 'Icon Color' containment reference.- See Also:
-
visibility
The cached value of the 'Visibility' containment reference.- See Also:
-
-
Constructor Details
-
ModelWidgetImpl
protected ModelWidgetImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getItem
- Specified by:
getItemin interfaceModelWidget- Returns:
- the value of the 'Item' attribute.
- See Also:
-
setItem
- Specified by:
setItemin interfaceModelWidget- Parameters:
newItem- the new value of the 'Item' attribute.- See Also:
-
getLabel
- Specified by:
getLabelin interfaceModelWidget- Returns:
- the value of the 'Label' attribute.
- See Also:
-
setLabel
- Specified by:
setLabelin interfaceModelWidget- Parameters:
newLabel- the new value of the 'Label' attribute.- See Also:
-
getIcon
- Specified by:
getIconin interfaceModelWidget- Returns:
- the value of the 'Icon' attribute.
- See Also:
-
setIcon
- Specified by:
setIconin interfaceModelWidget- Parameters:
newIcon- the new value of the 'Icon' attribute.- See Also:
-
getIconRules
- Specified by:
getIconRulesin interfaceModelWidget- Returns:
- the value of the 'Icon Rules' containment reference.
- See Also:
-
basicSetIconRules
public org.eclipse.emf.common.notify.NotificationChain basicSetIconRules(ModelIconRuleList newIconRules, org.eclipse.emf.common.notify.NotificationChain msgs) -
setIconRules
- Specified by:
setIconRulesin interfaceModelWidget- Parameters:
newIconRules- the new value of the 'Icon Rules' containment reference.- See Also:
-
getStaticIcon
- Specified by:
getStaticIconin interfaceModelWidget- Returns:
- the value of the 'Static Icon' attribute.
- See Also:
-
setStaticIcon
- Specified by:
setStaticIconin interfaceModelWidget- Parameters:
newStaticIcon- the new value of the 'Static Icon' attribute.- See Also:
-
getLabelColor
- Specified by:
getLabelColorin interfaceModelWidget- Returns:
- the value of the 'Label Color' containment reference.
- See Also:
-
basicSetLabelColor
public org.eclipse.emf.common.notify.NotificationChain basicSetLabelColor(ModelColorArrayList newLabelColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setLabelColor
- Specified by:
setLabelColorin interfaceModelWidget- Parameters:
newLabelColor- the new value of the 'Label Color' containment reference.- See Also:
-
getValueColor
- Specified by:
getValueColorin interfaceModelWidget- Returns:
- the value of the 'Value Color' containment reference.
- See Also:
-
basicSetValueColor
public org.eclipse.emf.common.notify.NotificationChain basicSetValueColor(ModelColorArrayList newValueColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setValueColor
- Specified by:
setValueColorin interfaceModelWidget- Parameters:
newValueColor- the new value of the 'Value Color' containment reference.- See Also:
-
getIconColor
- Specified by:
getIconColorin interfaceModelWidget- Returns:
- the value of the 'Icon Color' containment reference.
- See Also:
-
basicSetIconColor
public org.eclipse.emf.common.notify.NotificationChain basicSetIconColor(ModelColorArrayList newIconColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setIconColor
- Specified by:
setIconColorin interfaceModelWidget- Parameters:
newIconColor- the new value of the 'Icon Color' containment reference.- See Also:
-
getVisibility
- Specified by:
getVisibilityin interfaceModelWidget- Returns:
- the value of the 'Visibility' containment reference.
- See Also:
-
basicSetVisibility
public org.eclipse.emf.common.notify.NotificationChain basicSetVisibility(ModelVisibilityRuleList newVisibility, org.eclipse.emf.common.notify.NotificationChain msgs) -
setVisibility
- Specified by:
setVisibilityin interfaceModelWidget- Parameters:
newVisibility- the new value of the 'Visibility' containment reference.- 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:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-