Examples of removeAllChildren()


Examples of org.olat.course.nodes.CourseNode.removeAllChildren()

     * @param newRunStruct
     * @param cetn
     */
    private void addNodeTo(final Structure newRunStruct, CourseNode courseNode, CourseEditorTreeNode cetn) {
      CourseNode clone = (CourseNode) XStreamHelper.xstreamClone(courseNode);
      clone.removeAllChildren();// children get also visited
      // parent in the course editor model
      CourseEditorTreeNode parentCetn = (CourseEditorTreeNode) cetn.getParent();
      CourseNode parent = parentCetn.getCourseNode();
      CourseNode parentClone = newRunStruct.getNode(parent.getIdent());
      parentClone.addChild(clone);
View Full Code Here

Examples of org.openquark.gems.client.ArgumentTreeNode.CollectorNode.removeAllChildren()

    private void populate(CollectorGem collectorGem, Map<CollectorGem, Set<CollectorGem>> targetToCollectorMap) {
       
        // Create a node for the collector, and add it to the parent.
        CollectorNode collectorNode = getCollectorNode(collectorGem);
        ((ArgumentTreeNode)getRoot()).add(collectorNode);
        collectorNode.removeAllChildren();
       
        // Add node for the arguments.
        List<Gem.PartInput> reflectedInputs = collectorGem.getReflectedInputs();
        for (final Gem.PartInput reflectedInput : reflectedInputs) {
            ArgumentNode reflectedInputNode = getArgumentNode(reflectedInput);
View Full Code Here

Examples of org.teiid.query.optimizer.relational.plantree.PlanNode.removeAllChildren()

            }
           
            PlanNode tempRoot = buildUnionTree(unionNode, sourceUnions);
           
            unionNode.removeAllChildren();
            unionNode.addChildren(tempRoot.removeAllChildren());
        }
    }

    static PlanNode buildUnionTree(PlanNode rootUnionNode,
                                List<PlanNode> sources) {
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.