Class ActivityDiagramLayouter
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.activity.ActivityDiagramLayouter
- All Implemented Interfaces:
DiagramLayouter
,Cloneable
- Direct Known Subclasses:
BusinessProcessDiagramLayouter
Deprecated.
Automatic layouter specialized for activity diagram layouting. It is used as a default layouter
for activity diagrams and diagrams, based on activity diagram.
-
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
ConstructorsConstructorDescriptionDeprecated.ActivityDiagramLayouter
(String optionId) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterLayout
(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) 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
postprocessing
(BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.Does some post-processing after layout.protected void
preProcessing
(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) 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, resizeOuterBoundaryIfNecessary, setAnchoredPresentationElement, setDefaultLayoutParameters, setLabelConsiderationMode, setLayoutParameter
-
Constructor Details
-
ActivityDiagramLayouter
@OpenApi public ActivityDiagramLayouter()Deprecated. -
ActivityDiagramLayouter
@OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) public ActivityDiagramLayouter(String optionId) Deprecated, for removal: This API element is subject to removal in a future version.Construct ActivityDiagramLayouter- Parameters:
optionId
- activity diagram layouter options id
-
-
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.
-
afterLayout
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
afterLayout
in classAbstractHierarchicDiagramLayouter
-
preProcessing
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
preProcessing
in classAbstractHierarchicDiagramLayouter
-
postprocessing
protected void postprocessing(BaseGraph graph, @CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.Description copied from class:AbstractDiagramLayouter
Does some post-processing after layout. Moves the graph, layouts swimlanes.- Overrides:
postprocessing
in classAbstractDiagramLayouter
- Parameters:
graph
- the graph data for post-processing
-
Layouting
class