|
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
org.eclipse.gmf.runtime.notation.impl.DiagramImpl
public class DiagramImpl
An implementation of the model object 'Diagram'.
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> |
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[] |
edgesFeatures
|
protected static MeasurementUnit |
MEASUREMENT_UNIT_EDEFAULT
The default value of the ' Measurement Unit ' attribute |
protected static int |
MEASUREMENT_UNIT_ESETFLAG
The flag representing whether the Measurement Unit attribute has been set |
protected MeasurementUnit |
measurementUnit
The cached value of the ' Measurement Unit ' 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 org.eclipse.emf.common.util.EList |
persistedEdges
The cached value of the ' Persisted Edges ' containment reference list |
protected org.eclipse.emf.common.util.EList |
transientEdges
The cached value of the ' Transient Edges ' containment reference list |
Fields inherited from class org.eclipse.gmf.runtime.notation.impl.ViewImpl |
---|
childrenFeatures, element, ELEMENT_ESETFLAG, MUTABLE_EDEFAULT, MUTABLE_EFLAG, persistedChildren, sourceEdges, styles, targetEdges, transientChildren, type, TYPE_EDEFAULT, VISIBLE_EDEFAULT, VISIBLE_EFLAG |
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 |
DiagramImpl()
|
Method Summary | |
---|---|
Edge |
createEdge(org.eclipse.emf.ecore.EClass eClass)
|
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 |
getEdges()
|
MeasurementUnit |
getMeasurementUnit()
|
java.lang.String |
getName()
|
org.eclipse.emf.common.util.EList |
getPersistedEdges()
|
org.eclipse.emf.common.util.EList |
getTransientEdges()
|
void |
insertEdge(Edge edge)
|
void |
insertEdge(Edge edge,
boolean persisted)
|
void |
insertEdgeAt(Edge edge,
int index)
|
boolean |
isSetMeasurementUnit()
|
void |
persistEdges()
|
void |
removeEdge(Edge edge)
|
void |
setMeasurementUnit(MeasurementUnit newMeasurementUnit)
Set the Measurement Unit for this Diagram, the Measure ment unit can be set only once, the set method will not set the value if it was already set |
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
|
void |
unsetMeasurementUnit()
|
Methods inherited from class org.eclipse.gmf.runtime.notation.impl.ViewImpl |
---|
basicGetDiagram, basicGetElement, createChild, createStyle, eInverseAdd, getChildren, getDiagram, getElement, getNamedStyle, getPersistedChildren, getSourceEdges, getStyle, getStyles, getTargetEdges, getTransientChildren, getType, getVisibleChildren, insertChild, insertChild, insertChildAt, isMutable, isSetElement, isVisible, persist, persistChildren, removeChild, setElement, setMutable, setType, setVisible, 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.gmf.runtime.notation.View |
---|
createChild, createStyle, getChildren, getDiagram, getElement, getNamedStyle, getPersistedChildren, getSourceEdges, getStyle, getStyles, getTargetEdges, getTransientChildren, getType, getVisibleChildren, insertChild, insertChild, insertChildAt, isMutable, isSetElement, isVisible, persist, persistChildren, removeChild, setElement, setMutable, setType, setVisible, unsetElement |
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 java.lang.String NAME_EDEFAULT
Name
' attribute.
getName()
,
Constant Field Valuesprotected java.lang.String name
Name
' attribute.
getName()
protected static final MeasurementUnit MEASUREMENT_UNIT_EDEFAULT
Measurement Unit
' attribute.
getMeasurementUnit()
protected MeasurementUnit measurementUnit
Measurement Unit
' attribute.
getMeasurementUnit()
protected static final int MEASUREMENT_UNIT_ESETFLAG
protected org.eclipse.emf.common.util.EList persistedEdges
Persisted Edges
' containment reference list.
getPersistedEdges()
protected org.eclipse.emf.common.util.EList transientEdges
Transient Edges
' containment reference list.
getTransientEdges()
protected static final org.eclipse.emf.ecore.EStructuralFeature[] edgesFeatures
Constructor Detail |
---|
protected DiagramImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ViewImpl
public java.lang.String getName()
getName
in interface Diagram
Diagram.setName(String)
,
NotationPackage.getDiagram_Name()
public void setName(java.lang.String newName)
setName
in interface Diagram
newName
- the new value of the 'Name' attribute.Diagram.getName()
public MeasurementUnit getMeasurementUnit()
getMeasurementUnit
in interface Diagram
MeasurementUnit
,
Diagram.isSetMeasurementUnit()
,
Diagram.unsetMeasurementUnit()
,
Diagram.setMeasurementUnit(MeasurementUnit)
,
NotationPackage.getDiagram_MeasurementUnit()
public void setMeasurementUnit(MeasurementUnit newMeasurementUnit)
setMeasurementUnit
in interface Diagram
newMeasurementUnit
- the new value of the 'Measurement Unit' attribute.MeasurementUnit
,
Diagram.isSetMeasurementUnit()
,
Diagram.unsetMeasurementUnit()
,
Diagram.getMeasurementUnit()
public void unsetMeasurementUnit()
unsetMeasurementUnit
in interface Diagram
Diagram.isSetMeasurementUnit()
,
Diagram.getMeasurementUnit()
,
Diagram.setMeasurementUnit(MeasurementUnit)
public boolean isSetMeasurementUnit()
isSetMeasurementUnit
in interface Diagram
Diagram.unsetMeasurementUnit()
,
Diagram.getMeasurementUnit()
,
Diagram.setMeasurementUnit(MeasurementUnit)
public org.eclipse.emf.common.util.EList getEdges()
getEdges
in interface Diagram
org.eclipse.gmf.runtime.notation.NotationPackage#getDiagram_Edges()
public org.eclipse.emf.common.util.EList getPersistedEdges()
getPersistedEdges
in interface Diagram
NotationPackage.getDiagram_PersistedEdges()
public org.eclipse.emf.common.util.EList getTransientEdges()
getTransientEdges
in interface Diagram
NotationPackage.getDiagram_TransientEdges()
public Edge createEdge(org.eclipse.emf.ecore.EClass eClass)
createEdge
in interface Diagram
eClass
- the EClass
to be used in creating the Edge
object
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 ViewImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ViewImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ViewImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ViewImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ViewImpl
public java.lang.String toString()
toString
in class ViewImpl
public void insertEdge(Edge edge)
insertEdge
in interface Diagram
edge
- the 'Edge' to insert.
public void insertEdgeAt(Edge edge, int index)
insertEdgeAt
in interface Diagram
edge
- the 'Edge' to insert.public void insertEdge(Edge edge, boolean persisted)
insertEdge
in interface Diagram
edge
- the 'Edge' to insert.public void persistEdges()
persistEdges
in interface Diagram
public void removeEdge(Edge edge)
removeEdge
in interface Diagram
edge
- the 'Edge' to remove
|
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.