|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.gmf.runtime.notation.impl.ViewImpl
public abstract class ViewImpl
An implementation of the model object 'View'.
The following features are implemented:
Visible
Type
Mutable
Source Edges
Target Edges
Persisted Children
Styles
Element
Diagram
Transient Children
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> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected static org.eclipse.emf.ecore.EStructuralFeature[] |
childrenFeatures
|
protected org.eclipse.emf.ecore.EObject |
element
The cached value of the ' Element ' reference |
protected static int |
ELEMENT_ESETFLAG
The flag representing whether the Element reference has been set |
protected static boolean |
MUTABLE_EDEFAULT
The default value of the ' Mutable ' attribute |
protected static int |
MUTABLE_EFLAG
The flag representing the value of the ' Mutable ' attribute |
protected org.eclipse.emf.common.util.EList |
persistedChildren
The cached value of the ' Persisted Children ' containment reference list |
protected org.eclipse.emf.common.util.EList |
sourceEdges
The cached value of the ' Source Edges ' reference list |
protected org.eclipse.emf.common.util.EList |
styles
The cached value of the ' Styles ' containment reference list |
protected org.eclipse.emf.common.util.EList |
targetEdges
The cached value of the ' Target Edges ' reference list |
protected org.eclipse.emf.common.util.EList |
transientChildren
The cached value of the ' Transient Children ' containment reference list |
protected java.lang.String |
type
The cached value of the ' Type ' attribute |
protected static java.lang.String |
TYPE_EDEFAULT
The default value of the ' Type ' attribute |
protected static boolean |
VISIBLE_EDEFAULT
The default value of the ' Visible ' attribute |
protected static int |
VISIBLE_EFLAG
The flag representing the value of the ' Visible ' attribute |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eProxyURI |
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 |
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.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
ViewImpl()
|
Method Summary | |
---|---|
Diagram |
basicGetDiagram()
|
org.eclipse.emf.ecore.EObject |
basicGetElement()
|
Node |
createChild(org.eclipse.emf.ecore.EClass eClass)
|
Style |
createStyle(org.eclipse.emf.ecore.EClass eClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
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 |
getChildren()
|
Diagram |
getDiagram()
|
org.eclipse.emf.ecore.EObject |
getElement()
|
NamedStyle |
getNamedStyle(org.eclipse.emf.ecore.EClass eClass,
java.lang.String name)
|
org.eclipse.emf.common.util.EList |
getPersistedChildren()
|
org.eclipse.emf.common.util.EList |
getSourceEdges()
|
Style |
getStyle(org.eclipse.emf.ecore.EClass eClass)
|
org.eclipse.emf.common.util.EList |
getStyles()
|
org.eclipse.emf.common.util.EList |
getTargetEdges()
|
org.eclipse.emf.common.util.EList |
getTransientChildren()
|
java.lang.String |
getType()
|
org.eclipse.emf.common.util.EList |
getVisibleChildren()
|
void |
insertChild(View child)
|
void |
insertChild(View child,
boolean persisted)
|
void |
insertChildAt(View child,
int index)
|
boolean |
isMutable()
|
boolean |
isSetElement()
|
boolean |
isVisible()
|
void |
persist()
|
void |
persistChildren()
|
void |
removeChild(View child)
|
void |
setElement(org.eclipse.emf.ecore.EObject newElement)
|
void |
setMutable(boolean newMutable)
|
void |
setType(java.lang.String newType)
|
void |
setVisible(boolean newVisible)
|
java.lang.String |
toString()
|
void |
unsetElement()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, 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.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final boolean VISIBLE_EDEFAULT
Visible
' attribute.
isVisible()
,
Constant Field Valuesprotected static final int VISIBLE_EFLAG
Visible
' attribute.
isVisible()
,
Constant Field Valuesprotected static final java.lang.String TYPE_EDEFAULT
Type
' attribute.
getType()
,
Constant Field Valuesprotected java.lang.String type
Type
' attribute.
getType()
protected static final boolean MUTABLE_EDEFAULT
Mutable
' attribute.
isMutable()
,
Constant Field Valuesprotected static final int MUTABLE_EFLAG
Mutable
' attribute.
isMutable()
,
Constant Field Valuesprotected org.eclipse.emf.common.util.EList sourceEdges
Source Edges
' reference list.
getSourceEdges()
protected org.eclipse.emf.common.util.EList targetEdges
Target Edges
' reference list.
getTargetEdges()
protected org.eclipse.emf.common.util.EList persistedChildren
Persisted Children
' containment reference list.
getPersistedChildren()
protected org.eclipse.emf.common.util.EList styles
Styles
' containment reference list.
getStyles()
protected org.eclipse.emf.ecore.EObject element
Element
' reference.
getElement()
protected static final int ELEMENT_ESETFLAG
protected org.eclipse.emf.common.util.EList transientChildren
Transient Children
' containment reference list.
getTransientChildren()
protected static final org.eclipse.emf.ecore.EStructuralFeature[] childrenFeatures
Constructor Detail |
---|
protected ViewImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public boolean isVisible()
isVisible
in interface View
View.setVisible(boolean)
,
NotationPackage.getView_Visible()
public void setVisible(boolean newVisible)
setVisible
in interface View
newVisible
- the new value of the 'Visible' attribute.View.isVisible()
public java.lang.String getType()
getType
in interface View
View.setType(String)
,
NotationPackage.getView_Type()
public void setType(java.lang.String newType)
setType
in interface View
newType
- the new value of the 'Type' attribute.View.getType()
public boolean isMutable()
isMutable
in interface View
View.setMutable(boolean)
,
NotationPackage.getView_Mutable()
public void setMutable(boolean newMutable)
setMutable
in interface View
newMutable
- the new value of the 'Mutable' attribute.View.isMutable()
public org.eclipse.emf.common.util.EList getSourceEdges()
getSourceEdges
in interface View
NotationPackage.getView_SourceEdges()
,
Edge.getSource()
public org.eclipse.emf.common.util.EList getTargetEdges()
getTargetEdges
in interface View
NotationPackage.getView_TargetEdges()
,
Edge.getTarget()
public org.eclipse.emf.common.util.EList getPersistedChildren()
getPersistedChildren
in interface View
NotationPackage.getView_PersistedChildren()
public org.eclipse.emf.common.util.EList getChildren()
getChildren
in interface View
org.eclipse.gmf.runtime.notation.NotationPackage#getView_Children()
public org.eclipse.emf.common.util.EList getStyles()
getStyles
in interface View
NotationPackage.getView_Styles()
public org.eclipse.emf.ecore.EObject getElement()
getElement
in interface View
View.isSetElement()
,
View.unsetElement()
,
View.setElement(EObject)
,
NotationPackage.getView_Element()
public org.eclipse.emf.ecore.EObject basicGetElement()
public void setElement(org.eclipse.emf.ecore.EObject newElement)
setElement
in interface View
newElement
- the new value of the 'Element' reference.View.isSetElement()
,
View.unsetElement()
,
View.getElement()
public void unsetElement()
unsetElement
in interface View
View.isSetElement()
,
View.getElement()
,
View.setElement(EObject)
public boolean isSetElement()
isSetElement
in interface View
View.unsetElement()
,
View.getElement()
,
View.setElement(EObject)
public Diagram getDiagram()
getDiagram
in interface View
NotationPackage.getView_Diagram()
public Diagram basicGetDiagram()
public org.eclipse.emf.common.util.EList getTransientChildren()
getTransientChildren
in interface View
NotationPackage.getView_TransientChildren()
public Style getStyle(org.eclipse.emf.ecore.EClass eClass)
getStyle
in interface View
public Node createChild(org.eclipse.emf.ecore.EClass eClass)
createChild
in interface View
eClass
- the EClass
to be used in creating the Node
object
public Style createStyle(org.eclipse.emf.ecore.EClass eClass)
createStyle
in interface View
eClass
- the EClass
to be used in creating the Style
object
public NamedStyle getNamedStyle(org.eclipse.emf.ecore.EClass eClass, java.lang.String name)
getNamedStyle
in interface View
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.EModelElementImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void persistChildren()
persistChildren
in interface View
public void insertChild(View child)
insertChild
in interface View
child
- the 'View' to insert.
public void insertChildAt(View child, int index)
insertChildAt
in interface View
child
- the 'View' to insert.public void insertChild(View child, boolean persisted)
insertChild
in interface View
child
- the 'View' to insert.public void removeChild(View child)
removeChild
in interface View
child
- the 'View' to remove
public void persist()
persist
in interface View
public org.eclipse.emf.common.util.EList getVisibleChildren()
getVisibleChildren
in interface View
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.