@Override
  protected boolean isEnabled(@NotNull AnActionEvent e) {
    if (!super.isEnabled(e)) return false;
    return getView() != null;
  }
@Override
  protected boolean isEnabled(@NotNull AnActionEvent e)