Package com.intellij.ide.structureView.impl.xml

Examples of com.intellij.ide.structureView.impl.xml.XmlFileTreeElement


  @Override
  public StructureViewTreeElement getRoot() {
    final XmlFile xmlFile = (XmlFile)getPsiFile();
    final DomFileElement<DomElement> fileElement = DomManager.getDomManager(xmlFile.getProject()).getFileElement(xmlFile, DomElement.class);
    if (fileElement == null) {
      return new XmlFileTreeElement(xmlFile);
    }

    return new com.intellij.struts2.structure.StructureViewTreeElement(fileElement.getRootElement().createStableCopy());
  }
View Full Code Here

TOP

Related Classes of com.intellij.ide.structureView.impl.xml.XmlFileTreeElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.