Class StateDiagramLayouter
java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.AbstractHierarchicDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter
- All Implemented Interfaces:
DiagramLayouter
,Cloneable
Deprecated.
A specialized layouter for state and protocol state diagrams. It is also used as a default
layouter for diagrams that are based on them.
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractHierarchicDiagramLayouter
can, pathRerouteCollectors
Fields inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
layoutParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterLayout
(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.boolean
canLayoutAsHierarchic
(BaseGraph graph, AbstractDiagramLayouterOptionsGroup options) Deprecated.com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter.Type
Deprecated.protected boolean
layout
(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.protected void
preProcessing
(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.void
setPredefinedLayouterType
(com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter.Type type) Deprecated.Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
canSetLocationForOnEdgeShape, collectOnEdgeToResize, createPathRerouteCollectors, isTypeSupported
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractHierarchicDiagramLayouter
addPathRerouteCollector, clone, collectOnEdgeElementsRecursively, containsSelectedFromTheSameParent, createComponentLayouter, dispose, fixOnFrameElements, getPathRerouteCollectors, getTableShapeViewsInFirstLevel, initDefaultHierarchicSettings, isLayoutAsGrid, moveOutOfFrameHeader, resizeOnEdgeElements, resizeOnEdgeShapes, routeNonRoutedPaths, runIHLLayoutSeries, wrapToAccordingGroupLayouter
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
afterLayout, canLayout, clearOldRectangles, createCommands, createGraph, createGraph, createGraph, drawLayoutResults, getAnchoredPresentationElement, getDiagramLayouterAbortHandler, getLayoutParameter, getOptionsID, getSelected, layout, layoutGraph, placeLegendAndInfo, postprocessing, resizeOuterBoundaryIfNecessary, setAnchoredPresentationElement, setDefaultLayoutParameters, setLabelConsiderationMode, setLayoutParameter
-
Constructor Details
-
StateDiagramLayouter
@OpenApi public StateDiagramLayouter()Deprecated.
-
-
Method Details
-
layout
@OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Overrides:
layout
in classAbstractHierarchicDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
canLayoutAsHierarchic
Deprecated. -
preProcessing
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
preProcessing
in classAbstractHierarchicDiagramLayouter
-
afterLayout
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
afterLayout
in classAbstractHierarchicDiagramLayouter
-
getPredefinedLayouterType
public com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter.Type getPredefinedLayouterType()Deprecated. -
setPredefinedLayouterType
public void setPredefinedLayouterType(com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter.Type type) Deprecated.
-
Layouting
class