@Override
  public void invoke(final @NotNull Project project, final Editor editor, @NotNull PsiFile file) throws IncorrectOperationException {
    final PsiElement element = myElement.retrieve();
    if (element == null) return;
    XmlFile xmlFile = getFile();
    final String[] namespaces = ArrayUtilRt.toStringArray(getNamespaces(element, xmlFile));

    runActionOverSeveralAttributeValuesAfterLettingUserSelectTheNeededOne(
      namespaces,
      project,
      new MyStringToAttributeProcessor(element, project, editor, xmlFile), getSelectNSActionTitle(),
      this,
      editor);
  }
@Override
  public void invoke(final @NotNull Project project, final Editor editor, @NotNull PsiFile file)