Class LayoutManager

java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.LayoutManager

@OpenApiAll public final class LayoutManager extends Object
Manager that binds layouters to diagrams.
  • Method Details

    • getInstance

      public static LayoutManager getInstance()
    • getDefaultLayouter

      public DiagramLayouter getDefaultLayouter(String diagramType)
      Get default diagram layouter.
      Parameters:
      diagramType - The specify diagram type.
      Returns:
      DiagramLayouter.
    • registerDefaultLayouter

      public void registerDefaultLayouter(String diagramType, DiagramLayouter layouter)
      Register the given DiagramLayouter to be default layouter.
      Parameters:
      diagramType - diagram type
      layouter - layouter
    • isSupported

      public static boolean isSupported()
      Check the layouter is supported.
      Returns:
      true if supported