Package com.intellij.ide.util.treeView

Examples of com.intellij.ide.util.treeView.AbstractTreeStructure


  private Object[] getTopLevelItems() {
    StructureView structureView = createStructureViewModel();
    final StructureViewModel structureViewModel = structureView.getTreeModel();

    AbstractTreeStructure jsTreeStructure = new SmartTreeStructure(getProject(), structureViewModel);

    Object[] items = TreeStructureUtil.getChildElementsFromTreeStructure(jsTreeStructure, jsTreeStructure.getRootElement());
    structureViewModel.dispose();
    Disposer.dispose(structureView);
    return items;
  }
View Full Code Here


                         final DefaultTreeModel treeModel,
                         final AbstractTreeStructure structure,
                         final Comparator<NodeDescriptor> comparator) {
    super(tree, treeModel, null, comparator);
    myDelegateStructure = structure;
    myTreeStructure = new AbstractTreeStructure() {
      public Object getRootElement() {
        return structure.getRootElement();
      }

      public Object[] getChildElements(Object element) {
View Full Code Here

TOP

Related Classes of com.intellij.ide.util.treeView.AbstractTreeStructure

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.