@Override
    public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
      return new AnAction[] {myEditTemplateAction};
    }
@Override
    public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)