public class PartitionLayoutData extends LayoutData
PartitionLayout.| Constructor and Description |
|---|
PartitionLayoutData() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter. |
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 |
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)
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 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 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()