コード例 #1
0
 protected void rebuild() {
   storeState();
   ++ourSettingsModificationCount;
   ((SmartTreeStructure) myAbstractTreeBuilder.getTreeStructure()).rebuildTree();
   myAbstractTreeBuilder.updateFromRoot();
   restoreState();
 }
コード例 #2
0
  private void installTree() {
    getTree().getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    myAutoScrollToSourceHandler.install(getTree());
    myAutoScrollFromSourceHandler.install();

    TreeUtil.installActions(getTree());
    new TreeSpeedSearch(getTree());

    addTreeKeyListener();
    addTreeMouseListeners();
    restoreState();
  }