protected @Nullable ToolWindowManager getToolWindowManager(AnActionEvent e) {
    Project project = e.getProject();
    return project == null || project.isDisposed()
           ? null
           : ToolWindowManager.getInstance(project);
  }
protected @Nullable ToolWindowManager getToolWindowManager(AnActionEvent e)