@OpenApiAll public class StateDiagramLayouter extends HierarchicDiagramLayouter
Modifier and Type | Class and Description |
---|---|
static class |
StateDiagramLayouter.Type |
Constructor and Description |
---|
StateDiagramLayouter() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterLayout(AbstractDiagramLayouterOptionsGroup options,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
com.nomagic.magicdraw.commands.MacroCommand mc) |
boolean |
canLayoutAsHierarchic(UMLGraph graph) |
StateDiagramLayouter.Type |
getPredefinedLayouterType() |
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
moveToAppropriateFrameEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
java.lang.String orientation)
Moves shapes on diagram frame to appropriate frame.
|
protected void |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
void |
setPredefinedLayouterType(StateDiagramLayouter.Type type) |
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
protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouter
layout
in class HierarchicDiagramLayouter
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagrampublic boolean canLayoutAsHierarchic(UMLGraph graph)
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, com.nomagic.magicdraw.commands.MacroCommand mc)
preProcessing
in class HierarchicDiagramLayouter
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph, com.nomagic.magicdraw.commands.MacroCommand mc)
afterLayout
in class HierarchicDiagramLayouter
protected void moveToAppropriateFrameEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph, java.lang.String orientation)
dpe
- diagramgraph
- layouted graphorientation
- layout orientationpublic StateDiagramLayouter.Type getPredefinedLayouterType()
public void setPredefinedLayouterType(StateDiagramLayouter.Type type)