public class RecursiveGroupLayoutData extends LayoutData
RecursiveGroupLayout.| Constructor and Description |
|---|
RecursiveGroupLayoutData() |
| 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.
|
ItemMapping<INode,ILayoutAlgorithm> |
getGroupNodeLayouts()
Gets the mapping from group nodes to the
ILayoutAlgorithm used for their child nodes. |
ItemMapping<INode,NodeHalo> |
getNodeHalos()
Gets the mapping from nodes to their
NodeHalo. |
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,Object> |
getSourceSplitIds()
Gets a mapping from edges connecting to group nodes to source split ids.
|
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. |
ItemMapping<IEdge,Object> |
getTargetSplitIds()
Gets a mapping from edges connecting to group nodes to target split ids.
|
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setGroupNodeLayouts(ItemMapping<INode,ILayoutAlgorithm> value)
Sets the mapping from group nodes to the
ILayoutAlgorithm used for their child nodes. |
void |
setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo. |
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 |
setSourceSplitIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges connecting to group nodes to source split ids.
|
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. |
void |
setTargetSplitIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges connecting to group nodes to target split ids.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutDatalayoutGraphAdapter.apply in class LayoutDataadapter - 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 ItemMapping<INode,ILayoutAlgorithm> getGroupNodeLayouts()
ILayoutAlgorithm used for their child nodes.RecursiveGroupLayout.GROUP_NODE_LAYOUT_DPKEY,
setGroupNodeLayouts(ItemMapping)public final ItemMapping<INode,NodeHalo> getNodeHalos()
NodeHalo.NodeHalo.NODE_HALO_DPKEY,
setNodeHalos(ItemMapping)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,Object> getSourceSplitIds()
Edges will be aligned with edges that connect to the same group node and have the same split id at their source (preferably) or target.
RecursiveGroupLayout.SOURCE_SPLIT_ID_DPKEY,
setSourceSplitIds(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 ItemMapping<IEdge,Object> getTargetSplitIds()
Edges will be aligned with edges that connect to the same group node and have the same split id at their source or target (preferably).
RecursiveGroupLayout.TARGET_SPLIT_ID_DPKEY,
setTargetSplitIds(ItemMapping)public final void setAbortHandler(AbortHandler value)
value - The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY,
getAbortHandler()public final void setGroupNodeLayouts(ItemMapping<INode,ILayoutAlgorithm> value)
ILayoutAlgorithm used for their child nodes.value - The GroupNodeLayouts to set.RecursiveGroupLayout.GROUP_NODE_LAYOUT_DPKEY,
getGroupNodeLayouts()public final void setNodeHalos(ItemMapping<INode,NodeHalo> value)
NodeHalo.value - The NodeHalos to set.NodeHalo.NODE_HALO_DPKEY,
getNodeHalos()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 setSourceSplitIds(ItemMapping<IEdge,Object> value)
Edges will be aligned with edges that connect to the same group node and have the same split id at their source (preferably) or target.
value - The SourceSplitIds to set.RecursiveGroupLayout.SOURCE_SPLIT_ID_DPKEY,
getSourceSplitIds()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()public final void setTargetSplitIds(ItemMapping<IEdge,Object> value)
Edges will be aligned with edges that connect to the same group node and have the same split id at their source or target (preferably).
value - The TargetSplitIds to set.RecursiveGroupLayout.TARGET_SPLIT_ID_DPKEY,
getTargetSplitIds()