@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    if (!MavenDomUtil.isMavenFile(file)) return false;
    MavenDomDependency dep = getDependency(file, editor);
    return dep != null && "system".equals(dep.getScope().getStringValue());
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)