Interface DiagramCanvasExt

All Known Subinterfaces:
CaptureManager, ElementCreator, ElementDeleter, ElementEditor, ElementRenderer, ExportManager, LinkLayoutManager, LiveEditor, NodeLayoutCache, NodeLayoutManager, VisibilityManager
All Known Implementing Classes:
DiagramCanvas

public interface DiagramCanvasExt
Base extension contract that gives canvas mixins access to the owning DiagramCanvas and panel type.
  • Method Details

    • getCanvas

      default DiagramCanvas getCanvas()
      Returns the canvas.
      Returns:
      the canvas
    • getDocument

      default ModelDocument getDocument()
      Returns the document on the active canvas.
      Returns:
      the document
    • getPanelType

      default PanelType getPanelType()
      Returns the panel type on the active canvas.
      Returns:
      the panel type
    • getFrame

      default MainFrame getFrame()
      Returns the frame on the active canvas.
      Returns:
      the frame