public class OrthogonalPatternEdgeRouterData extends LayoutData
OrthogonalPatternEdgeRouter
.Constructor and Description |
---|
OrthogonalPatternEdgeRouterData() |
Modifier and Type | Method and Description |
---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter . |
AbortHandler |
getAbortHandler()
Gets the AbortHandler used during the layout.
|
DpKeyItemCollection<IEdge> |
getAffectedEdges()
Gets the collection of edges affected by this router.
|
ItemMapping<INode,PortCandidateSet> |
getNodePortCandidateSets()
Gets a mapping from nodes to their
PortCandidateSet . |
ItemMapping<IEdge,Collection<PortCandidate>> |
getSourcePortCandidates()
Gets a mapping from edges to a collection of their source port
candidates . |
ItemMapping<IEdge,PortConstraint> |
getSourcePortConstraints()
Gets a mapping from edges to their source
PortConstraint . |
ItemMapping<IEdge,Collection<PortCandidate>> |
getTargetPortCandidates()
Gets a mapping from edges to a collection of their target port
candidates . |
ItemMapping<IEdge,PortConstraint> |
getTargetPortConstraints()
Gets a mapping from edges to their target
PortConstraint . |
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setAffectedEdges(DpKeyItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
Sets a mapping from nodes to their
PortCandidateSet . |
void |
setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their source port
candidates . |
void |
setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their source
PortConstraint . |
void |
setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
Sets a mapping from edges to a collection of their target port
candidates . |
void |
setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
Sets a mapping from edges to their target
PortConstraint . |
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutData
layoutGraphAdapter
.apply
in class LayoutData
adapter
- The adapter to add the layout data to.layout
- The layout that shall use this layout data.layoutGraph
- The layout graph used for the layout calculation.public final AbortHandler getAbortHandler()
AbortHandler.ABORT_HANDLER_DPKEY
,
setAbortHandler(AbortHandler)
public final DpKeyItemCollection<IEdge> getAffectedEdges()
OrthogonalPatternEdgeRouter.getAffectedEdgesDpKey()
,
setAffectedEdges(DpKeyItemCollection)
public final ItemMapping<INode,PortCandidateSet> getNodePortCandidateSets()
PortCandidateSet
.PortCandidateSet.NODE_PORT_CANDIDATE_SET_DPKEY
,
setNodePortCandidateSets(ItemMapping)
public final ItemMapping<IEdge,Collection<PortCandidate>> getSourcePortCandidates()
candidates
.PortCandidate.SOURCE_PORT_CANDIDATE_COLLECTION_DPKEY
,
setSourcePortCandidates(ItemMapping)
public final ItemMapping<IEdge,PortConstraint> getSourcePortConstraints()
PortConstraint
.PortConstraintKeys.SOURCE_PORT_CONSTRAINT_DPKEY
,
setSourcePortConstraints(ItemMapping)
public final ItemMapping<IEdge,Collection<PortCandidate>> getTargetPortCandidates()
candidates
.PortCandidate.TARGET_PORT_CANDIDATE_COLLECTION_DPKEY
,
setTargetPortCandidates(ItemMapping)
public final ItemMapping<IEdge,PortConstraint> getTargetPortConstraints()
PortConstraint
.PortConstraintKeys.TARGET_PORT_CONSTRAINT_DPKEY
,
setTargetPortConstraints(ItemMapping)
public final void setAbortHandler(AbortHandler value)
value
- The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY
,
getAbortHandler()
public final void setAffectedEdges(DpKeyItemCollection<IEdge> value)
value
- The AffectedEdges to set.OrthogonalPatternEdgeRouter.getAffectedEdgesDpKey()
,
getAffectedEdges()
public final void setNodePortCandidateSets(ItemMapping<INode,PortCandidateSet> value)
PortCandidateSet
.value
- The NodePortCandidateSets to set.PortCandidateSet.NODE_PORT_CANDIDATE_SET_DPKEY
,
getNodePortCandidateSets()
public final void setSourcePortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
candidates
.value
- The SourcePortCandidates to set.PortCandidate.SOURCE_PORT_CANDIDATE_COLLECTION_DPKEY
,
getSourcePortCandidates()
public final void setSourcePortConstraints(ItemMapping<IEdge,PortConstraint> value)
PortConstraint
.value
- The SourcePortConstraints to set.PortConstraintKeys.SOURCE_PORT_CONSTRAINT_DPKEY
,
getSourcePortConstraints()
public final void setTargetPortCandidates(ItemMapping<IEdge,Collection<PortCandidate>> value)
candidates
.value
- The TargetPortCandidates to set.PortCandidate.TARGET_PORT_CANDIDATE_COLLECTION_DPKEY
,
getTargetPortCandidates()
public final void setTargetPortConstraints(ItemMapping<IEdge,PortConstraint> value)
PortConstraint
.value
- The TargetPortConstraints to set.PortConstraintKeys.TARGET_PORT_CONSTRAINT_DPKEY
,
getTargetPortConstraints()