Class GridDiagramLayouter
java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.grid.GridDiagramLayouter
- All Implemented Interfaces:
DiagramLayouter,Cloneable
Deprecated.
A smart gird layouter that is able to place different size shapes in a grid in a compact way.
Does not take paths into account
-
Field Summary
Fields 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.protected voidcreateCommands(com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc, BaseGraph graph) Deprecated.Draws the graph shapes on diagram frameprotected booleanlayout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
afterLayout, canLayout, clearOldRectangles, clone, containsSelectedFromTheSameParent, createGraph, createGraph, createGraph, dispose, drawLayoutResults, getAnchoredPresentationElement, getDiagramLayouterAbortHandler, getLayoutParameter, getOptionsID, getSelected, isTypeSupported, layout, layoutGraph, placeLegendAndInfo, postprocessing, preProcessing, resizeOuterBoundaryIfNecessary, setAnchoredPresentationElement, setDefaultLayoutParameters, setLabelConsiderationMode, setLayoutParameter
-
Constructor Details
-
GridDiagramLayouter
@OpenApi public GridDiagramLayouter()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- Specified by:
layoutin classAbstractDiagramLayouter- Parameters:
opt- layouter optionsdpe- diagram to layoutgraph- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
createCommands
protected void createCommands(@CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc, BaseGraph graph) Deprecated.Description copied from class:AbstractDiagramLayouterDraws the graph shapes on diagram frame- Overrides:
createCommandsin classAbstractDiagramLayouter- Parameters:
mc- macro command to store commands ingraph- this graph will be taken as data for elements
-
afterLayout
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, BaseGraph graph, com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc) Deprecated.- Overrides:
afterLayoutin classAbstractDiagramLayouter
-
Layoutingclass