Examples of removeFromParent()


Examples of org.nasutekds.guitools.controlpanel.ui.nodes.BasicNode.removeFromParent()

      if ((child instanceof SuffixNode) && keepSuffixes) {
        removeAllChildNodes(child, true);
        child.setRefreshNeededOnExpansion(true);
      }
      else {
        child.removeFromParent();
      }
    }
    treeModel.nodeStructureChanged(parentNode);
  }
View Full Code Here

Examples of org.olat.course.tree.CourseEditorTreeNode.removeFromParent()

        // moved node with a parent deleted (deletion published) -> oldCn ==
        // null
        if (oldCn != null) {
          if (!(cn.getIdent().equals(oldCn.getIdent()))) { throw new AssertException("deleted cn.getIdent != oldCn.getIdent"); }
        }
        cetn.removeFromParent();
        if (!cetn.isNewnode()) {
          // only clean up and archive of nodes which were already in run
          // save data, remove references
          deleteRefs(oldCn);
          oldCn.archiveNodeData(locale, course, exportDirectory, charset);
View Full Code Here

Examples of org.olat.ims.qti.editor.tree.GenericQtiNode.removeFromParent()

                         
        // remove from underlying model
        ((GenericQtiNode) clickedNode.getParent()).removeQTIObjectAt(clickedNode.getPosition());
                       
        // remove from tree model
        clickedNode.removeFromParent();
        qtiPackage.serializeQTIDocument();
        menuTree.setSelectedNodeId(clickedNode.getParent().getIdent());
        event(ureq, menuTree, new Event(MenuTree.COMMAND_TREENODE_CLICKED));
        //ask user to confirm referenced media removal
        if(deletableMediaFiles!=null && deletableMediaFiles.size()>0) {         
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.