Class VElementImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.emf.ecp.view.spi.model.impl.VElementImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,VElement
- Direct Known Subclasses:
VCategorizableElementImpl
,VContainedElementImpl
,VContainerImpl
,VEnablementConfigurationImpl
,VViewImpl
public abstract class VElementImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements VElement
An implementation of the model object 'Renderable'.- Since:
- 1.8
The following features are implemented:
-
-
Nested Class Summary
-
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<VAttachment>
attachments
The cached value of the 'Attachments
' containment reference list.protected VDiagnostic
diagnostic
The cached value of the 'Diagnostic
' containment reference.protected boolean
enabled
The cached value of the 'Enabled
' attribute.protected static boolean
ENABLED_EDEFAULT
The default value of the 'Enabled
' attribute.protected java.lang.String
label
The cached value of the 'Label
' attribute.protected static java.lang.String
LABEL_EDEFAULT
The default value of the 'Label
' attribute.protected java.lang.String
name
The cached value of the 'Name
' attribute.protected static java.lang.String
NAME_EDEFAULT
The default value of the 'Name
' attribute.protected boolean
readonly
The cached value of the 'Readonly
' attribute.protected static boolean
READONLY_EDEFAULT
The default value of the 'Readonly
' attribute.protected java.lang.String
uuid
The cached value of the 'Uuid
' attribute.protected static java.lang.String
UUID_EDEFAULT
The default value of the 'Uuid
' attribute.protected boolean
visible
The cached value of the 'Visible
' attribute.protected static boolean
VISIBLE_EDEFAULT
The default value of the 'Visible
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetDiagnostic(VDiagnostic newDiagnostic, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.Object
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, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.common.util.EList<VAttachment>
getAttachments()
VDiagnostic
getDiagnostic()
java.lang.String
getLabel()
java.lang.String
getName()
java.lang.String
getUuid()
boolean
isEffectivelyEnabled()
Returns true if this element and all parent elements are enabled.boolean
isEffectivelyReadonly()
Returns true if this element or any parent element is readonly.boolean
isEffectivelyVisible()
Returns true if this element and all parent elements are visible.boolean
isEnabled()
boolean
isReadonly()
boolean
isVisible()
void
setDiagnostic(VDiagnostic newDiagnostic)
void
setEnabled(boolean newEnabled)
void
setLabel(java.lang.String newLabel)
void
setName(java.lang.String newName)
void
setReadonly(boolean newReadonly)
void
setUuid(java.lang.String newUuid)
void
setVisible(boolean newVisible)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
getName()
-
LABEL_EDEFAULT
protected static final java.lang.String LABEL_EDEFAULT
The default value of the 'Label
' attribute.- Since:
- 1.6
- See Also:
getLabel()
-
label
protected java.lang.String label
The cached value of the 'Label
' attribute.- Since:
- 1.6
- See Also:
getLabel()
-
VISIBLE_EDEFAULT
protected static final boolean VISIBLE_EDEFAULT
The default value of the 'Visible
' attribute.- See Also:
isVisible()
, Constant Field Values
-
visible
protected boolean visible
The cached value of the 'Visible
' attribute.- See Also:
isVisible()
-
ENABLED_EDEFAULT
protected static final boolean ENABLED_EDEFAULT
The default value of the 'Enabled
' attribute.- See Also:
isEnabled()
, Constant Field Values
-
enabled
protected boolean enabled
The cached value of the 'Enabled
' attribute.- See Also:
isEnabled()
-
READONLY_EDEFAULT
protected static final boolean READONLY_EDEFAULT
The default value of the 'Readonly
' attribute.- See Also:
isReadonly()
, Constant Field Values
-
readonly
protected boolean readonly
The cached value of the 'Readonly
' attribute.- See Also:
isReadonly()
-
diagnostic
protected VDiagnostic diagnostic
The cached value of the 'Diagnostic
' containment reference.- See Also:
getDiagnostic()
-
attachments
protected org.eclipse.emf.common.util.EList<VAttachment> attachments
The cached value of the 'Attachments
' containment reference list.- See Also:
getAttachments()
-
UUID_EDEFAULT
protected static final java.lang.String UUID_EDEFAULT
The default value of the 'Uuid
' attribute.- Since:
- 1.9
- See Also:
getUuid()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.EObjectImpl
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceVElement
- Returns:
- the value of the 'Name' attribute.
- See Also:
VElement.setName(String)
,VViewPackage.getElement_Name()
-
setName
public void setName(java.lang.String newName)
- Specified by:
setName
in interfaceVElement
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
VElement.getName()
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceVElement
- Returns:
- the value of the 'Label' attribute.
- Since:
- 1.6
- See Also:
VElement.setLabel(String)
,VViewPackage.getElement_Label()
-
setLabel
public void setLabel(java.lang.String newLabel)
- Specified by:
setLabel
in interfaceVElement
- Parameters:
newLabel
- the new value of the 'Label' attribute.- Since:
- 1.6
- See Also:
VElement.getLabel()
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceVElement
- Returns:
- the value of the 'Visible' attribute.
- See Also:
VElement.setVisible(boolean)
,VViewPackage.getElement_Visible()
-
setVisible
public void setVisible(boolean newVisible)
- Specified by:
setVisible
in interfaceVElement
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
VElement.isVisible()
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceVElement
- Returns:
- the value of the 'Enabled' attribute.
- See Also:
VElement.setEnabled(boolean)
,VViewPackage.getElement_Enabled()
-
setEnabled
public void setEnabled(boolean newEnabled)
- Specified by:
setEnabled
in interfaceVElement
- Parameters:
newEnabled
- the new value of the 'Enabled' attribute.- See Also:
VElement.isEnabled()
-
isReadonly
public boolean isReadonly()
- Specified by:
isReadonly
in interfaceVElement
- Returns:
- the value of the 'Readonly' attribute.
- See Also:
VElement.setReadonly(boolean)
,VViewPackage.getElement_Readonly()
-
setReadonly
public void setReadonly(boolean newReadonly)
- Specified by:
setReadonly
in interfaceVElement
- Parameters:
newReadonly
- the new value of the 'Readonly' attribute.- See Also:
VElement.isReadonly()
-
getDiagnostic
public VDiagnostic getDiagnostic()
- Specified by:
getDiagnostic
in interfaceVElement
- Returns:
- the value of the 'Diagnostic' containment reference.
- See Also:
VElement.setDiagnostic(VDiagnostic)
,VViewPackage.getElement_Diagnostic()
-
basicSetDiagnostic
public org.eclipse.emf.common.notify.NotificationChain basicSetDiagnostic(VDiagnostic newDiagnostic, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setDiagnostic
public void setDiagnostic(VDiagnostic newDiagnostic)
- Specified by:
setDiagnostic
in interfaceVElement
- Parameters:
newDiagnostic
- the new value of the 'Diagnostic' containment reference.- See Also:
VElement.getDiagnostic()
-
getAttachments
public org.eclipse.emf.common.util.EList<VAttachment> getAttachments()
- Specified by:
getAttachments
in interfaceVElement
- Returns:
- the value of the 'Attachments' containment reference list.
- See Also:
VViewPackage.getElement_Attachments()
-
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interfaceVElement
- Returns:
- the value of the 'Uuid' attribute.
- Since:
- 1.9
- See Also:
VElement.setUuid(String)
,VViewPackage.getElement_Uuid()
-
setUuid
public void setUuid(java.lang.String newUuid)
- Specified by:
setUuid
in interfaceVElement
- Parameters:
newUuid
- the new value of the 'Uuid' attribute.- Since:
- 1.9
- See Also:
VElement.getUuid()
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
isEffectivelyVisible
public boolean isEffectivelyVisible()
Description copied from interface:VElement
Returns true if this element and all parent elements are visible.- Specified by:
isEffectivelyVisible
in interfaceVElement
- Returns:
- true if this element and all parent elements are visible
- Since:
- 1.12
-
isEffectivelyEnabled
public boolean isEffectivelyEnabled()
Description copied from interface:VElement
Returns true if this element and all parent elements are enabled.- Specified by:
isEffectivelyEnabled
in interfaceVElement
- Returns:
- true if this element and all parent elements are enabled
- Since:
- 1.12
-
isEffectivelyReadonly
public boolean isEffectivelyReadonly()
Description copied from interface:VElement
Returns true if this element or any parent element is readonly.- Specified by:
isEffectivelyReadonly
in interfaceVElement
- Returns:
- true if this element or any parent element is readonly
- Since:
- 1.12
-
-