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

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.

Parameters

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

anchor - sets where the tool window is initially located

See Also

addToolWindowFromAction

Do you like Arrow?

Arrow Org
<