@Override
 public void actionPerformed(AnActionEvent e) {
   final Component c = e.getData(PlatformDataKeys.CONTEXT_COMPONENT);
   if (c != null) {
     final JTree tree = UIUtil.getParentOfType(JTree.class, c);
     if (tree != null) {
       TreeUtil.expandAll(tree);
     }
   }
 }
 public void rebuildTree(final List<? extends DetectedFrameworkDescription> frameworks) {
   final CheckedTreeNode root = getRoot();
   root.removeAllChildren();
   if (myGroupByOption == DetectedFrameworksComponent.GroupByOption.TYPE) {
     createNodesGroupedByType(root, frameworks);
   } else {
     createNodesGroupedByDirectory(root, frameworks);
   }
   ((DefaultTreeModel) getModel()).nodeStructureChanged(root);
   TreeUtil.expandAll(this);
   myDetectedFrameworks = frameworks;
 }
 @Override
 public void actionPerformed(AnActionEvent e) {
   TreeUtil.expandAll(myTree);
 }
 protected void defaultExpandTree() {
   TreeUtil.expandAll(myTree);
 }
 // Execute from AWT thread.
 private void updateUI() {
   ((DefaultTreeModel) myCommitTree.getModel()).reload(myTreeRoot);
   TreeUtil.expandAll(myCommitTree);
   updateButtons();
 }
 void expandAll() {
   TreeUtil.expandAll(resultTableView.getTree());
 }
예제 #7
0
 public void expandAll() {
   TreeUtil.expandAll(myTree);
 }
 private void expandAll() {
   TreeUtil.expandAll(myTree);
 }