|
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.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.gmf.runtime.notation.impl.BasicDecorationNodeImpl
public class BasicDecorationNodeImpl
An implementation of the model object 'Basic Decoration Node'.
| 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 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
|
protected static int |
ELEMENT_ESETFLAG
|
protected static boolean |
MUTABLE_EDEFAULT
|
protected static int |
MUTABLE_EFLAG
|
protected java.lang.String |
type
|
protected static java.lang.String |
TYPE_EDEFAULT
|
protected static boolean |
VISIBLE_EDEFAULT
|
protected static int |
VISIBLE_EFLAG
|
| Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
| 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 | |
|---|---|
protected |
BasicDecorationNodeImpl()
|
| Method Summary | |
|---|---|
Diagram |
basicGetDiagram()
|
org.eclipse.emf.ecore.EObject |
basicGetElement()
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLayoutConstraint(LayoutConstraint newLayoutConstraint,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
Node |
createChild(org.eclipse.emf.ecore.EClass eClass)
A utililty method to create a new Node from the given eClass paramter
and then inserts the object in the view's Children collection
|
LayoutConstraint |
createLayoutConstraint(org.eclipse.emf.ecore.EClass eClass)
A utility method to create a LayoutConstraint object from the given EClass
and then sets the node's LayoutConstraint property to the new object. |
Style |
createStyle(org.eclipse.emf.ecore.EClass eClass)
A utililty method to create a new Style from the given eClass paramter
and then inserts the object in the view's Styles collection
|
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()
Returns the value of the 'Children'list. |
Diagram |
getDiagram()
Returns the value of the 'Diagram' reference |
org.eclipse.emf.ecore.EObject |
getElement()
Returns the value of the 'Element' reference |
LayoutConstraint |
getLayoutConstraint()
Returns the value of the 'Layout Constraint' containment reference |
NamedStyle |
getNamedStyle(org.eclipse.emf.ecore.EClass eClass,
java.lang.String name)
|
org.eclipse.emf.common.util.EList |
getPersistedChildren()
Returns the value of the 'Persisted Children' containment reference list. |
org.eclipse.emf.common.util.EList |
getSourceEdges()
Returns the value of the 'Source Edges' reference list. |
Style |
getStyle(org.eclipse.emf.ecore.EClass eClass)
Looks up a style in the view's collection of styles that extends/implements the given EClass. |
org.eclipse.emf.common.util.EList |
getStyles()
Returns the value of the 'Styles' containment reference list. |
org.eclipse.emf.common.util.EList |
getTargetEdges()
Returns the value of the 'Target Edges' reference list. |
org.eclipse.emf.common.util.EList |
getTransientChildren()
Returns the value of the 'Transient Children' containment reference list. |
java.lang.String |
getType()
Returns the value of the 'Type' attribute. |
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()
Returns the value of the 'Mutable' attribute. |
boolean |
isSetElement()
Returns whether the value of the ' Element' reference is set |
boolean |
isVisible()
Returns the value of the 'Visible' attribute. |
void |
persist()
|
void |
persistChildren()
|
void |
removeChild(View child)
|
void |
setElement(org.eclipse.emf.ecore.EObject newElement)
Sets the value of the ' Element' reference |
void |
setLayoutConstraint(LayoutConstraint newLayoutConstraint)
Sets the value of the ' Layout Constraint' containment reference |
void |
setMutable(boolean newMutable)
Sets the value of the ' Mutable' attribute |
void |
setType(java.lang.String newType)
Sets the value of the ' Type' attribute |
void |
setVisible(boolean newVisible)
Sets the value of the ' Visible' attribute |
void |
unsetElement()
Unsets the value of the ' Element' reference |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
| 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, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString |
| 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
protected static final int VISIBLE_EFLAG
protected static final java.lang.String TYPE_EDEFAULT
protected java.lang.String type
protected static final boolean MUTABLE_EDEFAULT
protected static final int MUTABLE_EFLAG
protected org.eclipse.emf.ecore.EObject element
protected static final int ELEMENT_ESETFLAG
protected static final org.eclipse.emf.ecore.EStructuralFeature[] childrenFeatures
| Constructor Detail |
|---|
protected BasicDecorationNodeImpl()
| Method Detail |
|---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class org.eclipse.emf.ecore.impl.EModelElementImplpublic boolean isVisible()
View"true".
isVisible in interface ViewView.setVisible(boolean),
NotationPackage.getView_Visible()public void setVisible(boolean newVisible)
ViewVisible' attribute.
setVisible in interface ViewnewVisible - the new value of the 'Visible' attribute.View.isVisible()public java.lang.String getType()
View"".
The view's type is a context-defined unique string representing the kind of the view. It is usually used if the view is a subview or if it is a top level view that does not have a business model
getType in interface ViewView.setType(String),
NotationPackage.getView_Type()public void setType(java.lang.String newType)
ViewType' attribute.
The view's type is a context-defined unique string representing the kind of the view. It is usually used if the view is a subview or if it is a top level view that does not have a business model
setType in interface ViewnewType - the new value of the 'Type' attribute.View.getType()public boolean isMutable()
View"false".
If the meaning of the 'Mutable' attribute isn't clear, there really should be more of a description here...
isMutable in interface ViewView.setMutable(boolean),
NotationPackage.getView_Mutable()public void setMutable(boolean newMutable)
ViewMutable' attribute.
setMutable in interface ViewnewMutable - the new value of the 'Mutable' attribute.View.isMutable()public org.eclipse.emf.common.util.EList getSourceEdges()
ViewEdge.
It is bidirectional and its opposite is 'Source'.
The property is a list of zero or more outgoing edges from the view
Must use only for addition/removal purposes. Otherwise check if feature is set first EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
getSourceEdges in interface ViewNotationPackage.getView_SourceEdges(),
Edge.getSource()public org.eclipse.emf.common.util.EList getTargetEdges()
ViewEdge.
It is bidirectional and its opposite is 'Target'.
The property is a list of zero or more incoming edges to the view
Must use only for addition/removal purposes. Otherwise check if feature is set firts EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
getTargetEdges in interface ViewNotationPackage.getView_TargetEdges(),
Edge.getTarget()public org.eclipse.emf.common.util.EList getPersistedChildren()
ViewNode.
If the meaning of the 'Persisted Children' containment reference list isn't clear, there really should be more of a description here...
getPersistedChildren in interface ViewNotationPackage.getView_PersistedChildren()public org.eclipse.emf.common.util.EList getChildren()
ViewView.
getChildren in interface Vieworg.eclipse.gmf.runtime.notation.NotationPackage#getView_Children()public org.eclipse.emf.common.util.EList getStyles()
ViewStyle.
The list contains unique instances of these styles.
Must use View.getStyle(EClass) to access specific style
getStyles in interface ViewNotationPackage.getView_Styles()public org.eclipse.emf.ecore.EObject getElement()
ViewThis is The referenced business model element
getElement in interface ViewView.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)
ViewElement' reference.
This is The referenced business model element
setElement in interface ViewnewElement - the new value of the 'Element' reference.View.isSetElement(),
View.unsetElement(),
View.getElement()public void unsetElement()
ViewElement' reference.
unsetElement in interface ViewView.isSetElement(),
View.getElement(),
View.setElement(EObject)public boolean isSetElement()
ViewElement' reference is set.
isSetElement in interface ViewView.unsetElement(),
View.getElement(),
View.setElement(EObject)public Diagram getDiagram()
ViewThe diagram is the top level container of this view
getDiagram in interface ViewNotationPackage.getView_Diagram()public Diagram basicGetDiagram()
public org.eclipse.emf.common.util.EList getTransientChildren()
ViewNode.
If the meaning of the 'Transient Children' containment reference list isn't clear, there really should be more of a description here...
getTransientChildren in interface ViewNotationPackage.getView_TransientChildren()public Style getStyle(org.eclipse.emf.ecore.EClass eClass)
View
Looks up a style in the view's collection of styles that extends/implements
the given EClass. Thefore the returned style instance is not guaranteed
to be unique for different EClasses
getStyle in interface Viewpublic Node createChild(org.eclipse.emf.ecore.EClass eClass)
View
A utililty method to create a new Node from the given eClass paramter
and then inserts the object in the view's Children collection
createChild in interface VieweClass - the EClass to be used in creating the Node object
public Style createStyle(org.eclipse.emf.ecore.EClass eClass)
View
A utililty method to create a new Style from the given eClass paramter
and then inserts the object in the view's Styles collection
createStyle in interface VieweClass - the EClass to be used in creating the Style object
public NamedStyle getNamedStyle(org.eclipse.emf.ecore.EClass eClass,
java.lang.String name)
View
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.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.EModelElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.EModelElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.EModelElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.EModelElementImplpublic 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 org.eclipse.emf.common.util.EList getVisibleChildren()
getVisibleChildren in interface Viewpublic LayoutConstraint createLayoutConstraint(org.eclipse.emf.ecore.EClass eClass)
Node
A utility method to create a LayoutConstraint object from the given EClass
and then sets the node's LayoutConstraint property to the new object.
createLayoutConstraint in interface NodeeClass - the EClass to be used in creating the LayoutConstraint object
public void setLayoutConstraint(LayoutConstraint newLayoutConstraint)
NodeLayout Constraint' containment reference.
Layout constraints are used by layout managers to properly set the bounds of the node's visuals
setLayoutConstraint in interface NodenewLayoutConstraint - the new value of the 'Layout Constraint' containment reference.Node.getLayoutConstraint()
public org.eclipse.emf.common.notify.NotificationChain basicSetLayoutConstraint(LayoutConstraint newLayoutConstraint,
org.eclipse.emf.common.notify.NotificationChain msgs)
public LayoutConstraint getLayoutConstraint()
NodeLayout constraints are used by layout managers to properly set the bounds of the node's visuals
getLayoutConstraint in interface NodeNode.setLayoutConstraint(LayoutConstraint),
NotationPackage.getNode_LayoutConstraint()
|
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.