Package lu.kbra.modelizer_next.ui.canvas
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 Summary
Modifier and TypeMethodDescriptiondefault DiagramCanvasReturns the canvas.default ModelDocumentReturns the document on the active canvas.default MainFramegetFrame()Returns the frame on the active canvas.default PanelTypeReturns the panel type on the active canvas.
-
Method Details
-
getCanvas
Returns the canvas.- Returns:
- the canvas
-
getDocument
Returns the document on the active canvas.- Returns:
- the document
-
getPanelType
Returns the panel type on the active canvas.- Returns:
- the panel type
-
getFrame
Returns the frame on the active canvas.- Returns:
- the frame
-