|
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:
VisibleTypeMutableSource EdgesTarget EdgesPersisted ChildrenStylesElementDiagramTransient Children
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected static EStructuralFeature[] |
childrenFeatures
|
protected 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 EList |
persistedChildren
The cached value of the ' Persisted Children' containment reference list |
protected EList |
sourceEdges
The cached value of the ' Source Edges' reference list |
protected EList |
styles
The cached value of the ' Styles' containment reference list |
protected EList |
targetEdges
The cached value of the ' Target Edges' reference list |
protected 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()
|
EObject |
basicGetElement()
|
Node |
createChild(EClass eClass)
|
Style |
createStyle(EClass eClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EList |
getChildren()
|
Diagram |
getDiagram()
|
EObject |
getElement()
|
NamedStyle |
getNamedStyle(EClass eClass,
java.lang.String name)
|
EList |
getPersistedChildren()
|
EList |
getSourceEdges()
|
Style |
getStyle(EClass eClass)
|
EList |
getStyles()
|
EList |
getTargetEdges()
|
EList |
getTransientChildren()
|
java.lang.String |
getType()
|
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(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.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 EList sourceEdges
Source Edges' reference list.
getSourceEdges()protected EList targetEdges
Target Edges' reference list.
getTargetEdges()protected EList persistedChildren
Persisted Children' containment reference list.
getPersistedChildren()protected EList styles
Styles' containment reference list.
getStyles()protected EObject element
Element' reference.
getElement()protected static final int ELEMENT_ESETFLAG
protected EList transientChildren
Transient Children' containment reference list.
getTransientChildren()protected static final EStructuralFeature[] childrenFeatures
| Constructor Detail |
|---|
protected ViewImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EModelElementImplpublic boolean isVisible()
isVisible in interface ViewView.setVisible(boolean),
NotationPackage.getView_Visible()public void setVisible(boolean newVisible)
setVisible in interface ViewnewVisible - the new value of the 'Visible' attribute.View.isVisible()public java.lang.String getType()
getType in interface ViewView.setType(String),
NotationPackage.getView_Type()public void setType(java.lang.String newType)
setType in interface ViewnewType - the new value of the 'Type' attribute.View.getType()public boolean isMutable()
isMutable in interface ViewView.setMutable(boolean),
NotationPackage.getView_Mutable()public void setMutable(boolean newMutable)
setMutable in interface ViewnewMutable - the new value of the 'Mutable' attribute.View.isMutable()public EList getSourceEdges()
getSourceEdges in interface ViewNotationPackage.getView_SourceEdges(),
Edge.getSource()public EList getTargetEdges()
getTargetEdges in interface ViewNotationPackage.getView_TargetEdges(),
Edge.getTarget()public EList getPersistedChildren()
getPersistedChildren in interface ViewNotationPackage.getView_PersistedChildren()public EList getChildren()
getChildren in interface Vieworg.eclipse.gmf.runtime.notation.NotationPackage#getView_Children()public EList getStyles()
getStyles in interface ViewNotationPackage.getView_Styles()public EObject getElement()
getElement in interface ViewView.isSetElement(),
View.unsetElement(),
View.setElement(EObject),
NotationPackage.getView_Element()public EObject basicGetElement()
public void setElement(EObject newElement)
setElement in interface ViewnewElement - the new value of the 'Element' reference.View.isSetElement(),
View.unsetElement(),
View.getElement()public void unsetElement()
unsetElement in interface ViewView.isSetElement(),
View.getElement(),
View.setElement(EObject)public boolean isSetElement()
isSetElement in interface ViewView.unsetElement(),
View.getElement(),
View.setElement(EObject)public Diagram getDiagram()
getDiagram in interface ViewNotationPackage.getView_Diagram()public Diagram basicGetDiagram()
public EList getTransientChildren()
getTransientChildren in interface ViewNotationPackage.getView_TransientChildren()public Style getStyle(EClass eClass)
getStyle in interface Viewpublic Node createChild(EClass eClass)
createChild in interface VieweClass - the EClass to be used in creating the Node object
public Style createStyle(EClass eClass)
createStyle in interface VieweClass - the EClass to be used in creating the Style object
public NamedStyle getNamedStyle(EClass eClass,
java.lang.String name)
getNamedStyle in interface View
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class EModelElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class EModelElementImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class EModelElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class EModelElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class EModelElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class EModelElementImplpublic java.lang.String toString()
toString in class BasicEObjectImplpublic void persistChildren()
persistChildren in interface Viewpublic void insertChild(View child)
insertChild in interface Viewchild - the 'View' to insert.
public void insertChildAt(View child,
int index)
insertChildAt in interface Viewchild - the 'View' to insert.
public void insertChild(View child,
boolean persisted)
insertChild in interface Viewchild - the 'View' to insert.public void removeChild(View child)
removeChild in interface Viewchild - the 'View' to remove
public void persist()
persist in interface Viewpublic 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.