@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    JTree tree = ComponentUtil.getParentOfType((Class<? extends JTree>)JTree.class, e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT));
    if (tree != null) {
      TreeUtil.expandAll(tree);
    }
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)