Package com.intellij.ide

Examples of com.intellij.ide.DefaultTreeExpander


      // (without this they would be disabled or won't work)
      if (dataId.equals(FileSystemTree.DATA_KEY.getName())) return fileSystemTree.get();
      if (dataId.equals(FileChooserKeys.NEW_FILE_TYPE.getName())) return IdeUtil.GROOVY_FILE_TYPE;
      if (dataId.equals(FileChooserKeys.DELETE_ACTION_AVAILABLE.getName())) return true;
      if (dataId.equals(PlatformDataKeys.VIRTUAL_FILE_ARRAY.getName())) return fileSystemTree.get().getSelectedFiles();
      if (dataId.equals(PlatformDataKeys.TREE_EXPANDER.getName())) return new DefaultTreeExpander(fileSystemTree.get().getTree());
      return super.getData(dataId);
    }
View Full Code Here


    myTree = new SimpleTree();
    myTree.setRootVisible(false);
    myTree.setShowsRootHandles(true); // show expand/collapse handles
    myTree.getEmptyText().setText(StrutsBundle.message("facet.fileset.no.filesets.defined"), SimpleTextAttributes.ERROR_ATTRIBUTES);
    myTreeExpander = new DefaultTreeExpander(myTree);

    myBuilder = new SimpleTreeBuilder(myTree, (DefaultTreeModel)myTree.getModel(), structure, null);
    myBuilder.initRoot();

    final DumbService dumbService = DumbService.getInstance(facetEditorContext.getProject());
View Full Code Here

TOP

Related Classes of com.intellij.ide.DefaultTreeExpander

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.