private void activateToolWindows(Set<String> toolWindowIds) {
    ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
    toolWindowManager.invokeLater(() -> {
      for (String toolWindowId : toolWindowIds) {
        if (myActiveToolWindowIds.contains(toolWindowId)) {
          ToolWindow toolWindow = toolWindowManager.getToolWindow(toolWindowId);
          if (toolWindow != null) {
            toolWindow.activate(null);
          }
        }
      }
    });
  }
private void activateToolWindows(Set<String> toolWindowIds)