public FileEditor createEditor(final Project pProject, final VirtualFile pPomFile) {
final FileDocumentManager filedocMgr = FileDocumentManager.getInstance();
final Document document = filedocMgr.getDocument(pPomFile);
final XmlFile xmlFile = PsiUtils.findXmlFile(pProject, document);
return new PomFileEditor(new DefaultPsiProject(xmlFile));
}