rem: if (defnc) { trs = qx.ui.treefullcontrol.TreeRowStructure.getInstance().standard(defnc);  t = new qx.ui.treefullcontrol.TreeFolder(trs); t.setAlwaysShowPlusMinusSymbol(true);   parent.add(t); 
add: if (defnc) { dataModel.addBranch(parentNode.nodeId, defnc, false); 
context: qx.Proto._displayTreeOpenResults = function(module, rpcRequest){  var t;  var trs;  var child;  // Obtain the result object  var result = rpcRequest.getUserData("result").data;  // We also need some of the original parameters passed to the request  var parent = rpcRequest.getUserData("parent");  var attributes = rpcRequest.getUserData("attributes");  // Any children?  if (! result || result["length"] == 0)  {    // Nope.  Allow parent's expand/contract button to be removed    parent.setAlwaysShowPlusMinusSymbol(false);    return;  }  // base object, add naming contexts to the root  if ((result.length == 1) &&      ((result[0]["dn"] == "") ||       (result[0]["dn"].toLowerCase() == "cn=rootdse"))) {    defnc = result[0]["defaultNamingContext"];    // Build a tree row for the defaultNamingContext    if (defnc) {      trs = qx.ui.treefullcontrol.TreeRowStructure.getInstance().standard(defnc);      // This row is a "folder" (it can have children)      t = new qx.ui.treefullcontrol.TreeFolder(trs);      t.setAlwaysShowPlusMinusSymbol(true);      // Add this row to its parent      parent.add(t);    }    var ncs = result[0]["namingContexts"];    // If it's multi-valued (type is an array) we have other naming contexts to show    if (typeof(ncs) == "object") {            for (var i = 0; i < ncs.length; i++) {        if (ncs[i] != defnc) { //skip default naming context          trs = qx.ui.treefullcontrol.TreeRowStructure.getInstance().standard(ncs[i]);          // This row is a "folder" (it can have children)          t = new qx.ui.treefullcontrol.TreeFolder(trs);          t.setAlwaysShowPlusMinusSymbol(true);            // Add this row to its parent          parent.add(t);        }      }    }  }  else {    for (var i = 0; i < result.length; i++)    {      var name;        child = result[i];        name = child["dn"].split(",")[0];        // Build a standard tree row      trs = qx.ui.treefullcontrol.TreeRowStructure.getInstance().standard(name);        // This row is a "folder" (it can have children)      t = new qx.ui.treefullcontrol.TreeFolder(trs);      t.setAlwaysShowPlusMinusSymbol(true);        // Add this row to its parent      parent.add(t);    }  }};
meta: 502	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/502/d3eef7270d033fa0e37c07291065389bc746881f/Gui.js/clean/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js