|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Diagram
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, 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 |
| Method Detail |
|---|
java.lang.String getName()
"".
setName(String),
NotationPackage.getDiagram_Name()void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()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,
isSetMeasurementUnit(),
unsetMeasurementUnit(),
setMeasurementUnit(MeasurementUnit),
NotationPackage.getDiagram_MeasurementUnit()void setMeasurementUnit(MeasurementUnit value)
Measurement Unit' attribute.
value - the new value of the 'Measurement Unit' attribute.MeasurementUnit,
isSetMeasurementUnit(),
unsetMeasurementUnit(),
getMeasurementUnit()void unsetMeasurementUnit()
Measurement Unit' attribute.
isSetMeasurementUnit(),
getMeasurementUnit(),
setMeasurementUnit(MeasurementUnit)boolean isSetMeasurementUnit()
Measurement Unit' attribute is set.
unsetMeasurementUnit(),
getMeasurementUnit(),
setMeasurementUnit(MeasurementUnit)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()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()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()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
void insertEdge(Edge edge)
A utililty method to insert a persisted edge
edge - the 'Edge' to insert.
void insertEdgeAt(Edge edge,
int index)
A utililty method to insert a persisted edge at a specific index
edge - the 'Edge' to insert.the - index of the child
void insertEdge(Edge edge,
boolean persisted)
A utililty method to insert a persisted or transient edge
edge - the 'Edge' to insert.persisted, - indicate if the Edge will be persisted or not
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
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.