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, pathRerouteCollectorsFields 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 voidafterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.protected booleanlayout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.protected voidpostprocessing(BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.Does some post-processing after layout.protected voidpreProcessing(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, 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, 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: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.
-
afterLayout
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
afterLayoutin classAbstractHierarchicDiagramLayouter
-
preProcessing
protected void preProcessing(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
preProcessingin classAbstractHierarchicDiagramLayouter
-
postprocessing
protected void postprocessing(BaseGraph graph, @CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.Description copied from class:AbstractDiagramLayouterDoes some post-processing after layout. Moves the graph, layouts swimlanes.- Overrides:
postprocessingin classAbstractDiagramLayouter- Parameters:
graph- the graph data for post-processing
-
Layoutingclass