@Override
  protected DomElement getParentDomElement(Project project, Editor editor, PsiFile file) {
    DomElement el = DomUtil.getContextElement(editor);
    return DomUtil.getFileElement(el).getRootElement();
  }
@Override
  protected DomElement getParentDomElement(Project project, Editor editor, PsiFile file)