@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    Change[] changes = e.getData(VcsDataKeys.SELECTED_CHANGES_IN_DETAILS);
    if (changes == null) return;

    boolean isEnabled = project != null && changes.length > 0;
    e.getPresentation().setEnabledAndVisible(isEnabled);
    e.getPresentation().setText(VcsBundle.message("action.name.get.file.content.from.repository"));
  }
@Override
  public void update(@NotNull AnActionEvent e)