@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
    List<AnAction> actions = new ArrayList<>();
    if (e != null && !isPopup(e)) {
      actions.add(Separator.create(VcsLogBundle.message("group.Vcs.Log.ToggleColumns.text")));
    }

    List<VcsLogColumn<?>> dynamicColumns = getDynamicColumns();
    for (VcsLogColumn<?> column : dynamicColumns) {
      actions.add(new ToggleColumnAction(column));
    }

    return actions.toArray(EMPTY_ARRAY);
  }
@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)