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, pathRerouteCollectorsFields inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
layoutParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.booleancanLayoutAsHierarchic(BaseGraph graph, AbstractDiagramLayouterOptionsGroup options) Deprecated.com.nomagic.magicdraw.uml.symbols.layout.state.StateDiagramLayouter.TypeDeprecated.protected booleanlayout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.protected voidpreProcessing(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.voidsetPredefinedLayouterType(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, isTypeSupportedMethods 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, wrapToAccordingGroupLayouterMethods 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:AbstractDiagramLayouterLayouts a diagram- Overrides:
layoutin 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:
preProcessingin classAbstractHierarchicDiagramLayouter
-
afterLayout
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
afterLayoutin 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.
-
Layoutingclass