idea-plugin / arrow.meta.ide.dsl.ui.toolwindow / ToolWindowSyntax / registerToolWindow


open fun MetaIde.registerToolWindow(toolId: String, icon: Icon, content: (Project, ToolWindow) -> JComponent, canCloseContent: Boolean = false, anchor: ToolWindowAnchor = ToolWindowAnchor.RIGHT, isLockable: Boolean = false, project: Project): ExtensionPhase

registers a tool window with the content.


content - Please refer to toolWindowWithEditor, toolWindowContent or create a costum implementation.

anchor - sets where the tool window is initially located

See Also


Do you like Arrow?

Arrow Org