|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Diagram'.
A diagram is a view that represents the top level containment of views
The following features are supported:
NotationPackage.getDiagram()| Method Summary | |
Edge |
createEdge(EClass eClass)
A utililty method to create a new Edge from the given eClass paramter
and then inserts the object in the diagrams's Edges collection
|
EList |
getEdges()
Returns the value of the 'Edges' list. |
MeasurementUnit |
getMeasurementUnit()
Returns the value of the 'Measurement Unit' attribute. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
EList |
getPersistedEdges()
Returns the value of the 'Persisted Edges' containment reference list. |
EList |
getTransientEdges()
Returns the value of the 'Transient Edges' containment reference list. |
void |
insertEdge(Edge edge)
A utililty method to insert a persisted edge |
void |
insertEdge(Edge edge,
boolean persisted)
A utililty method to insert a persisted or transient edge |
void |
insertEdgeAt(Edge edge,
int index)
A utililty method to insert a persisted edge at a specific index |
boolean |
isSetMeasurementUnit()
Returns whether the value of the ' Measurement Unit' attribute is set |
void |
persistEdges()
A utililty method to persist all diagram's edges |
void |
removeEdge(Edge edge)
A utililty method to remove an edge form a diagram |
void |
setMeasurementUnit(MeasurementUnit value)
Sets the value of the ' Measurement Unit' attribute |
void |
setName(java.lang.String value)
Sets the value of the ' Name' attribute |
void |
unsetMeasurementUnit()
Unsets the value of the ' Measurement Unit' attribute |
| Methods inherited from interface org.eclipse.gmf.runtime.notation.View |
createChild, createStyle, getChildren, getDiagram, getElement, 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 |
| Method Detail |
public java.lang.String getName()
"".
Diagram.setName(String),
NotationPackage.getDiagram_Name()public void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.Diagram.getName()public MeasurementUnit getMeasurementUnit()
"Himetric".
The literals are from the enumeration MeasurementUnit.
If the meaning of the 'Measurement Unit' attribute isn't clear, there really should be more of a description here...
MeasurementUnit,
Diagram.isSetMeasurementUnit(),
Diagram.unsetMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit),
NotationPackage.getDiagram_MeasurementUnit()public void setMeasurementUnit(MeasurementUnit value)
Measurement Unit' attribute.
value - the new value of the 'Measurement Unit' attribute.MeasurementUnit,
Diagram.isSetMeasurementUnit(),
Diagram.unsetMeasurementUnit(),
Diagram.getMeasurementUnit()public void unsetMeasurementUnit()
Measurement Unit' attribute.
Diagram.isSetMeasurementUnit(),
Diagram.getMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit)public boolean isSetMeasurementUnit()
Measurement Unit' attribute is set.
Diagram.unsetMeasurementUnit(),
Diagram.getMeasurementUnit(),
Diagram.setMeasurementUnit(MeasurementUnit)public EList getEdges()
Edge.
If the meaning of the 'Edges' containment reference list isn't clear, there really should be more of a description here...
org.eclipse.gmf.runtime.notation.NotationPackage#getDiagram_Edges()public EList getPersistedEdges()
Edge.
If the meaning of the 'Persisted Edges' containment reference list isn't clear, there really should be more of a description here...
NotationPackage.getDiagram_PersistedEdges()public EList getTransientEdges()
Edge.
If the meaning of the 'Transient Edges' containment reference list isn't clear, there really should be more of a description here...
NotationPackage.getDiagram_TransientEdges()public Edge createEdge(EClass eClass)
A utililty method to create a new Edge from the given eClass paramter
and then inserts the object in the diagrams's Edges collection
eClass - the EClass to be used in creating the Edge object
public void insertEdge(Edge edge)
A utililty method to insert a persisted edge
edge - the 'Edge' to insert.
public void insertEdgeAt(Edge edge,
int index)
A utililty method to insert a persisted edge at a specific index
edge - the 'Edge' to insert.
public void insertEdge(Edge edge,
boolean persisted)
A utililty method to insert a persisted or transient edge
edge - the 'Edge' to insert.public void persistEdges()
A utililty method to persist all diagram's edges
public void removeEdge(Edge edge)
A utililty method to remove an edge form a 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.