|
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 |
|---|
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[] |
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 EList |
persistedEdges
The cached value of the ' Persisted Edges' containment reference list |
protected 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(EClass eClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
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 |
getEdges()
|
MeasurementUnit |
getMeasurementUnit()
|
java.lang.String |
getName()
|
EList |
getPersistedEdges()
|
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.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 EList persistedEdges
Persisted Edges' containment reference list.
getPersistedEdges()protected EList transientEdges
Transient Edges' containment reference list.
getTransientEdges()protected static final EStructuralFeature[] edgesFeatures
| Constructor Detail |
|---|
protected DiagramImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class ViewImplpublic java.lang.String getName()
getName in interface DiagramDiagram.setName(String),
NotationPackage.getDiagram_Name()public void setName(java.lang.String newName)
setName in interface DiagramnewName - the new value of the 'Name' attribute.Diagram.getName()public MeasurementUnit getMeasurementUnit()
getMeasurementUnit in interface DiagramMeasurementUnit,
Diagram.isSetMeasurementUnit(),
Diagram.unsetMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit),
NotationPackage.getDiagram_MeasurementUnit()public void setMeasurementUnit(MeasurementUnit newMeasurementUnit)
setMeasurementUnit in interface DiagramnewMeasurementUnit - the new value of the 'Measurement Unit' attribute.MeasurementUnit,
Diagram.isSetMeasurementUnit(),
Diagram.unsetMeasurementUnit(),
Diagram.getMeasurementUnit()public void unsetMeasurementUnit()
unsetMeasurementUnit in interface DiagramDiagram.isSetMeasurementUnit(),
Diagram.getMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit)public boolean isSetMeasurementUnit()
isSetMeasurementUnit in interface DiagramDiagram.unsetMeasurementUnit(),
Diagram.getMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit)public EList getEdges()
getEdges in interface Diagramorg.eclipse.gmf.runtime.notation.NotationPackage#getDiagram_Edges()public EList getPersistedEdges()
getPersistedEdges in interface DiagramNotationPackage.getDiagram_PersistedEdges()public EList getTransientEdges()
getTransientEdges in interface DiagramNotationPackage.getDiagram_TransientEdges()public Edge createEdge(EClass eClass)
createEdge in interface DiagrameClass - the EClass to be used in creating the Edge object
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ViewImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ViewImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ViewImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ViewImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ViewImplpublic java.lang.String toString()
toString in class ViewImplpublic void insertEdge(Edge edge)
insertEdge in interface Diagramedge - the 'Edge' to insert.
public void insertEdgeAt(Edge edge,
int index)
insertEdgeAt in interface Diagramedge - the 'Edge' to insert.
public void insertEdge(Edge edge,
boolean persisted)
insertEdge in interface Diagramedge - the 'Edge' to insert.public void persistEdges()
persistEdges in interface Diagrampublic void removeEdge(Edge edge)
removeEdge in interface Diagramedge - 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.