rem: proto._updateInfoPanel = function(nodeType) { 
add: qx.Proto._updateInfoPanel = function(nodeType) { 
context: proto._updateInfoPanel = function(nodeType) {  var typeInfo = this._infoPanelHash[nodeType];  // Get the nodes to show  var nodeArr = null;  var fromClassHash = null;  if (typeInfo.isOpen && this._currentClassDocNode) {    if (typeInfo.showInherited) {      nodeArr = [];      fromClassArr = [];      fromClassHash = {};      var currClassNode = this._currentClassDocNode;      while (currClassNode != null) {        var currParentNode = qx.apiviewer.TreeUtil.getChild(currClassNode, typeInfo.listName);        var currNodeArr = currParentNode ? currParentNode.children : null;        if (currNodeArr) {          // Add the nodes from this class          for (var i = 0; i < currNodeArr.length; i++) {            var name = currNodeArr[i].attributes.name;            if (fromClassHash[name] == null) {              fromClassHash[name] = currClassNode;              nodeArr.push(currNodeArr[i]);            }          }        }        var superClassName = currClassNode.attributes.superClass;        currClassNode = superClassName ? this._getClassDocNode(superClassName) : null;      }      // Sort the nodeArr by name      nodeArr.sort(function(obj1, obj2) {        return (obj1.attributes.name < obj2.attributes.name) ? -1 : 1;      });    } else {      var parentNode = qx.apiviewer.TreeUtil.getChild(this._currentClassDocNode, typeInfo.listName);      nodeArr = parentNode ? parentNode.children : null;    }  }  // Show the nodes  if (nodeArr && nodeArr.length != 0) {    var html = '<table cellspacing="0" cellpadding="0" class="api-info" width="100%">'      + '<colgroup><col width="20px"></col><col></col></colgroup>';    for (var i = 0; i < nodeArr.length; i++) {      var fromClassNode = fromClassHash ? fromClassHash[nodeArr[i].attributes.name] : null;      html += '<tr _itemName="' + nodeArr[i].attributes.name + '" class="api-item-row">'        + this._createItemInfo(nodeArr[i], nodeType, fromClassNode, false) + '</tr>';    }    html += '</table>';    typeInfo.infoBodyElem.innerHTML = html;    typeInfo.infoBodyElem.style.display = "";  } else {    if (typeInfo.isOpen) {      typeInfo.infoBodyElem.innerHTML = '<div class="api-empty-info-body">'        + 'This class has no ' + typeInfo.labelText + '</div>';      typeInfo.infoBodyElem.style.display = "";    } else {      typeInfo.infoBodyElem.style.display = "none";    }  }};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/aadaef284504855833cbd27332e46b82b24c2266/DetailViewer.js/buggy/qooxdoo/source/demo/apiviewer/script/qx/apiviewer/DetailViewer.js