@Override
  public void update(@NotNull AnActionEvent e) {
    super.update(e);

    VcsSelection selection = VcsSelectionUtil.getSelection(this, e);
    if (selection == null) {
      e.getPresentation().setEnabledAndVisible(false);
    }
    else if (!e.getPlace().equals(ActionPlaces.ACTION_SEARCH)) {
      e.getPresentation().setText(selection.getActionName());
    }
  }
@Override
  public void update(@NotNull AnActionEvent e)