|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KEdgeLayout
A representation of the model object 'Edge Layout'. This layout data contains special information for edges, such as bend points. Each graph element has either a shape layout or an edge layout attached.
All layout coordinates for edges are defined to be relative to the parent of the source node, except when the target node is directly or indirectly contained in the source node, in which case all coordinates are relative to the source node itself. The insets of the reference node are not included in relative coordinates.
The following features are supported:
KLayoutDataPackage.getKEdgeLayout()
Method Summary | |
---|---|
void |
applyVectorChain(KVectorChain points)
Set the source point, bend points, and target point of this edge layout from the given vector chain. |
KVectorChain |
createVectorChain()
Create a vector chain from the points of this edge layout. |
EList<KPoint> |
getBendPoints()
Returns the value of the 'Bend Points' containment reference list. |
KPoint |
getSourcePoint()
Returns the value of the 'Source Point' containment reference. |
KPoint |
getTargetPoint()
Returns the value of the 'Target Point' containment reference. |
void |
setSourcePoint(KPoint value)
Sets the value of the ' Source Point ' containment reference. |
void |
setTargetPoint(KPoint value)
Sets the value of the ' Target Point ' containment reference. |
Methods inherited from interface de.cau.cs.kieler.core.kgraph.EMapPropertyHolder |
---|
getPersistentEntries, getProperties, makePersistent |
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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface de.cau.cs.kieler.core.properties.IPropertyHolder |
---|
copyProperties, getAllProperties, getProperty, setProperty |
Method Detail |
---|
EList<KPoint> getBendPoints()
KPoint
.
The coordinates of bend points must obey the general rules for edge
coordinates defined above.
KLayoutDataPackage.getKEdgeLayout_BendPoints()
containment | = | true |
KPoint getSourcePoint()
setSourcePoint(KPoint)
,
KLayoutDataPackage.getKEdgeLayout_SourcePoint()
containment | = | true |
required | = | true |
void setSourcePoint(KPoint value)
Source Point
' containment reference.
value
- the new value of the 'Source Point' containment reference.getSourcePoint()
KPoint getTargetPoint()
setTargetPoint(KPoint)
,
KLayoutDataPackage.getKEdgeLayout_TargetPoint()
containment | = | true |
required | = | true |
void setTargetPoint(KPoint value)
Target Point
' containment reference.
value
- the new value of the 'Target Point' containment reference.getTargetPoint()
void applyVectorChain(KVectorChain points)
points
- the new points for this edge layout
pointsType | = | de.cau.cs.kieler.kiml.klayoutdata.KVectorChain |
KVectorChain createVectorChain()
type | = | de.cau.cs.kieler.kiml.klayoutdata.KVectorChain |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |