@Override
    public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
      ActionManager am = e != null ? e.getActionManager() : ActionManager.getInstance();
      return ContainerUtil.mapNotNull(group.getElements(), o -> {
        // We used to have a bunch of IFs checking whether we want to show the given tool in the given event.getPlace().
        // But now from the UX point of view we believe we'd better remove a bunch of checkboxes from the Edit External Tool dialog.
        // See IDEA-190856 for discussion.
        if (!o.isEnabled()) return null;
        return am.getAction(o.getActionId());
      }).toArray(EMPTY_ARRAY);
    }
@Override
    public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)