Package com.sodius.mdw.metamodel.uml21
Interface GraphEdge
-
- All Superinterfaces:
Comparable<Object>,DiagramElement,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,GraphElement,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier
public interface GraphEdge extends GraphElement
A representation of the model object 'Graph Edge'.The following features are supported:
- See Also:
UMLPackage.getGraphEdge()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointcreateWaypoint(double x, double y)Creates a newPointfor the current Graph Edge.MDWEList<GraphConnector>getAnchor()Returns the value of the 'Anchor' reference list.GraphConnectorgetFirstConnector()Returns the firstGraph Connectorof the list ofanchorsfor the current Graph Edge.GraphNodegetFirstNode()Returns the firstGraph Nodeconnected to the current Graph Edge.GraphConnectorgetLastConnector()Returns the latestGraph Connectorof the list ofanchorsfor the current Graph Edge.GraphNodegetLastNode()Returns the latestGraph Nodeconnected to the current Graph Edge.MDWEList<Point>getWaypoints()Returns the value of the 'Waypoints' containment reference list.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DiagramElement
getContainer, getDiagram, getProperty, getProperty, getProperty, getProperty, getReference, isSetIsVisible, isVisible, removeProperty, setContainer, setIsVisible, setProperty, setProperty, unsetIsVisible
-
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.GraphElement
createContained, createContainedConnector, createContainedEdge, createContainedGraphElement, createContainedNode, createContainedTextElement, createSimpleContainedNode, getAllContainedEdges, getAllContainedEdges, getAllContainedEdges, getAllContainedNodes, getAllContainedNodes, getAllContainedNodes, getAllContainedNodes, getAnchorage, getContained, getContainedEdges, getContainedEdges, getContainedEdges, getContainedNodes, getContainedNodes, getContainedNodes, getContainedNodes, getLink, getPosition, getSemanticElement, getSemanticModel, getSemanticTypeInfo, setPosition, setPosition, setSemanticElement, setSemanticModel, setSemanticTypeInfo
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getWaypoints
MDWEList<Point> getWaypoints()
Returns the value of the 'Waypoints' containment reference list. The list contents are of typePoint.- Returns:
- the value of the 'Waypoints' containment reference list.
- See Also:
UMLPackage.getGraphEdge_Waypoints()
-
getAnchor
MDWEList<GraphConnector> getAnchor()
Returns the value of the 'Anchor' reference list. The list contents are of typeGraphConnector. It is bidirectional and its opposite is 'Graph Edge'.- Returns:
- the value of the 'Anchor' reference list.
- See Also:
UMLPackage.getGraphEdge_Anchor(),GraphConnector.getGraphEdge()
-
createWaypoint
Point createWaypoint(double x, double y)
Creates a newPointfor the current Graph Edge. Theabscissais set to the specified 'x' value, theordinateis set to the specified 'y' value.- Parameters:
x- the abscissay- the ordinate- Returns:
- the Point created
- Since:
- 3.3.0
-
getFirstConnector
GraphConnector getFirstConnector()
Returns the firstGraph Connectorof the list ofanchorsfor the current Graph Edge.- Returns:
- the first Graph Connector
- Since:
- 3.3.0
-
getLastConnector
GraphConnector getLastConnector()
Returns the latestGraph Connectorof the list ofanchorsfor the current Graph Edge.- Returns:
- the latest Graph Connector
- Since:
- 3.3.0
-
getFirstNode
GraphNode getFirstNode()
Returns the firstGraph Nodeconnected to the current Graph Edge.- Returns:
- the first Graph Node connected
- Since:
- 3.3.0
-
getLastNode
GraphNode getLastNode()
Returns the latestGraph Nodeconnected to the current Graph Edge.- Returns:
- the latest Graph Node connected
- Since:
- 3.3.0
-
-