@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 |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
createComponentLayouter, fixOnFrameElements, getPathRerouteCollectors, initDefaultHierarchicSettings, registerPathRerouteCollector, resizeOnEdgeElements, routeNonRoutedPaths, wrapToAccordingGroupLayouter
createGraph, 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 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