Class LayoutManager
java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.LayoutManager
Manager that binds layouters to diagrams.
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultLayouter
(String diagramType) Get default diagram layouter.static LayoutManager
static boolean
Check the layouter is supported.void
registerDefaultLayouter
(String diagramType, DiagramLayouter layouter) Register the given DiagramLayouter to be default layouter.
-
Method Details
-
getInstance
-
getDefaultLayouter
Get default diagram layouter.- Parameters:
diagramType
- The specify diagram type.- Returns:
- DiagramLayouter.
-
registerDefaultLayouter
Register the given DiagramLayouter to be default layouter.- Parameters:
diagramType
- diagram typelayouter
- layouter
-
isSupported
public static boolean isSupported()Check the layouter is supported.- Returns:
- true if supported
-