Examples of expandNode()


Examples of org.openide.explorer.view.TreeView.expandNode()

                    Children childNodes = em.getRootContext().getChildren();
                    TreeView tree = getTree();

                    Node results = childNodes.findChild(ResultsNode.NAME);
                    tree.expandNode(results);

                    Children resultsChilds = results.getChildren();
                    tree.expandNode(resultsChilds.findChild(KeywordHits.NAME));
                    tree.expandNode(resultsChilds.findChild(ExtractedContent.NAME));
View Full Code Here

Examples of org.openide.explorer.view.TreeView.expandNode()

                    Node results = childNodes.findChild(ResultsNode.NAME);
                    tree.expandNode(results);

                    Children resultsChilds = results.getChildren();
                    tree.expandNode(resultsChilds.findChild(KeywordHits.NAME));
                    tree.expandNode(resultsChilds.findChild(ExtractedContent.NAME));


                    Node views = childNodes.findChild(ViewsNode.NAME);
                    Children viewsChilds = views.getChildren();
View Full Code Here

Examples of org.openide.explorer.view.TreeView.expandNode()

                    Node results = childNodes.findChild(ResultsNode.NAME);
                    tree.expandNode(results);

                    Children resultsChilds = results.getChildren();
                    tree.expandNode(resultsChilds.findChild(KeywordHits.NAME));
                    tree.expandNode(resultsChilds.findChild(ExtractedContent.NAME));


                    Node views = childNodes.findChild(ViewsNode.NAME);
                    Children viewsChilds = views.getChildren();
                    for (Node n : viewsChilds.getNodes()) {
View Full Code Here

Examples of org.openide.explorer.view.TreeView.expandNode()


                    Node views = childNodes.findChild(ViewsNode.NAME);
                    Children viewsChilds = views.getChildren();
                    for (Node n : viewsChilds.getNodes()) {
                        tree.expandNode(n);
                    }

                    tree.collapseNode(views);

                    // if the dataResult is not opened
View Full Code Here

Examples of org.openide.explorer.view.TreeView.expandNode()

                    Node currentGeneratedNode = genChilds.getNodeAt(i);
                    for (int j = 0; j < currentChildren.getNodesCount(); j++) {
                        Node currentDirectoryTreeNode = currentChildren.getNodeAt(j);
                        if (currentGeneratedNode.getDisplayName().equals(currentDirectoryTreeNode.getDisplayName())) {
                            dirExplored = currentDirectoryTreeNode;
                            dirTreeView.expandNode(dirExplored);
                            currentChildren = currentDirectoryTreeNode.getChildren();
                            break;
                        }
                    }
                }
View Full Code Here

Examples of org.openide.explorer.view.TreeView.expandNode()

                // Set the parent node of the content as the selection in the
                // directory tree
                try {
                    if (dirExplored != null) {
                        dirTreeView.expandNode(dirExplored);
                        dirTreeExplorerManager.setExploredContextAndSelection(dirExplored, new Node[]{dirExplored});
                    }
                } catch (PropertyVetoException ex) {
                    logger.log(Level.WARNING, "Couldn't set selected node", ex); //NON-NLS
                }
View Full Code Here

Examples of org.richfaces.component.state.TreeState.expandNode()

      Boolean adviseOpened = stateAdvisor.adviseNodeOpened(tree);
      if (null != adviseOpened) {
        if (adviseOpened.booleanValue()) {
          if (!componentState.isExpanded(rowKey)) {
            componentState.expandNode(tree, rowKey);
          }
        }
        else {
          if (componentState.isExpanded(rowKey)) {
            componentState.collapseNode(tree, rowKey);
View Full Code Here

Examples of org.richfaces.component.state.TreeState.expandNode()

      Boolean adviseOpened = stateAdvisor.adviseNodeOpened(tree);
      if (null != adviseOpened) {
        if (adviseOpened.booleanValue()) {
          if (!componentState.isExpanded(rowKey)) {
            componentState.expandNode(tree, rowKey);
          }
        }
        else {
          if (componentState.isExpanded(rowKey)) {
            componentState.collapseNode(tree, rowKey);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.