void (@NotNull Project project) { ensureToolWindowCreated(project); ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getToolWindowId()); if (toolWindow == null) return; toolWindow.setAvailable(true); if (toolWindow instanceof ToolWindowImpl windowImpl) { StatusText emptyText = windowImpl.getEmptyText(); setupEmptyText(project, emptyText); setEmptyStateBackground(toolWindow); } rebuildContentUi(toolWindow); toolWindow.show(); toolWindow.activate(null, true); }