void (final @NotNull ToolWindow toolWindow, final @NotNull RunContentDescriptor contentDescriptor) { setContent(toolWindow, contentDescriptor); if (!myInitialized) { doInit(toolWindow); } if (toolWindow instanceof ToolWindowEx toolWindowEx) { toolWindowEx.setTabActions(new NewConsoleAction()); } }