@OpenApiAll public class ActivityDiagramLayouter extends HierarchicDiagramLayouter
Constructor and Description |
---|
ActivityDiagramLayouter() |
ActivityDiagramLayouter(java.lang.String optionId)
Construct ActivityDiagramLayouter
|
Modifier and Type | Method and Description |
---|---|
protected void |
afterLayout(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
UMLGraph graph,
com.nomagic.magicdraw.commands.MacroCommand mc) |
protected boolean |
containsSelectedFromTheSameParent(DiagramPresentationElement dpe)
Activity layouter should also consider when nodes in swimlanes are selected and layouted.
|
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
moveToAppropriateFrameEdge(DiagramPresentationElement dpe,
UMLGraph graph,
java.lang.String orientation)
Moves shapes on diagram frame to appropriate frame.
|
protected void |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
canIntegrateLabels, collectOutgoingFromNonNode, collectPathsOneEndLayoutedOtherNot, findPathToRelayout, fixOnFrameElements, getAllUnlayoutableSymbols, initDefaultHierarchicSettings, resizeOnEdgeElements, routeNonRoutedPaths, wrapToAccordingGroupLayouter
createGraph, getSelected, isSubgraphLayout, isTypeSupported, setSubgraphLayout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLayout, drawLayoutResults, getOptionsID
public ActivityDiagramLayouter()
public ActivityDiagramLayouter(java.lang.String optionId)
optionId
- activity diagram layouter options idprotected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouter
layout
in class HierarchicDiagramLayouter
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagramprotected void afterLayout(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, UMLGraph graph, com.nomagic.magicdraw.commands.MacroCommand mc)
afterLayout
in class HierarchicDiagramLayouter
protected void moveToAppropriateFrameEdge(DiagramPresentationElement dpe, UMLGraph graph, java.lang.String orientation)
dpe
- diagramgraph
- layouted graphorientation
- layout orientationprotected void preProcessing(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, com.nomagic.magicdraw.commands.MacroCommand mc)
preProcessing
in class HierarchicDiagramLayouter
protected boolean containsSelectedFromTheSameParent(DiagramPresentationElement dpe)
containsSelectedFromTheSameParent
in class AbstractDiagramLayouter
dpe
- diagram