void (@NotNull ToolWindowManager toolWindowManager) { ToolWindow window = toolWindowManager.getToolWindow(DATA_VIEWER_ID); if (window == null) { return; } if (toolWindow.isAvailable() && toolWindow.getType().equals(ToolWindowType.FLOATING) && !toolWindow.isVisible()) { toolWindow.setShowStripeButton(false); myTabs.removeAllTabs(); } }