@Override
    public String getScopeName(@NotNull DataContext dataContext, final ActionInfo actionInfo) {
      List<FilePath> roots = getRoots(dataContext, actionInfo);
      if (roots.isEmpty()) {
        return VcsBundle.message("update.files.scope.name");
      }
      boolean directory = roots.get(0).isDirectory();
      if (roots.size() == 1) {
        if (directory) {
          return VcsBundle.message("update.directory.scope.name");
        }
        else {
          return VcsBundle.message("update.file.scope.name");
        }
      }
      else {
        if (directory) {
          return VcsBundle.message("update.directories.scope.name");
        }
        else {
          return VcsBundle.message("update.files.scope.name");
        }
      }
    }
@Override
    public String getScopeName(@NotNull DataContext dataContext, final ActionInfo actionInfo)