@Override
  public final @Nullable Presentation getPresentation(@NotNull ActionContext context) {
    E element = getElement(context);
    return element == null ? null : getPresentation(context, element);
  }
@Override
  public final @Nullable Presentation getPresentation(@NotNull ActionContext context)