rem: var DetailViewer = qx.apiviewer.DetailViewer;  
context: qx.Proto.showClass = function(classNode) {  if (this._currentClassDocNode == classNode) {    // Nothing to do    return;  }  var DetailViewer = qx.apiviewer.DetailViewer;  this._currentClassDocNode = classNode;  if (!this._titleElem) {    // _afterAppear was not called yet -> Do nothing, the class will be shown in    // _afterAppear.    return;  }  var titleHtml = "";  if (classNode.attributes.isAbstract) {    titleHtml += "abstract ";  } else if (classNode.attributes.isStatic) {    titleHtml += "static ";  }  titleHtml += "class " + classNode.attributes.fullName;  this._titleElem.innerHTML = titleHtml  // Create the class hierarchie  var classHierarchie = [];  var currClass = classNode;  while (currClass != null) {    classHierarchie.push(currClass);    currClass = this._getClassDocNode(currClass.attributes.superClass);  }  this._currentClassHierarchie = classHierarchie;  // Add the class hierarchie  var classHtml = DetailViewer.createImageHtml("images/class18.gif") + "Object<br/>";  var indent = 0;  for (var i = classHierarchie.length - 1; i >= 0; i--) {    classHtml += DetailViewer.createImageHtml("images/nextlevel.gif", null, "padding-left:" + indent + "px")      + DetailViewer.createImageHtml(qx.apiviewer.TreeUtil.getIconUrl(classHierarchie[i]));    if (i != 0) {      classHtml += this._createItemLinkHtml(classHierarchie[i].attributes.fullName, null, false)    } else {      classHtml += classHierarchie[i].attributes.fullName;    }    classHtml += "<br/>";    indent += 18;  }  // Add the class description  var ctorList = qx.apiviewer.TreeUtil.getChild(classNode, "constructor");  if (ctorList) {    classHtml += '<p>' + this._createDescHtml(ctorList.children[0], classNode, true) + '</p>';  }  // Add child classes  if (classNode.attributes.childClasses) {    classHtml += DetailViewer.DIV_START_DETAIL_HEADLINE + "Direct known subclasses:" + DetailViewer.DIV_END      + DetailViewer.DIV_START_DETAIL_TEXT;    var classNameArr = classNode.attributes.childClasses.split(",");    for (var i = 0; i < classNameArr.length; i++) {      if (i != 0) {        classHtml += ", ";      }      classHtml += this._createItemLinkHtml(classNameArr[i], null, true, false);    }    classHtml += DetailViewer.DIV_END;  }  // Add @see attributes  if (ctorList) {    classHtml += this._createSeeAlsoHtml(ctorList.children[0], classNode);  }  this._classDescElem.innerHTML = classHtml;  // Refresh the info viewers  for (var nodeType in this._infoPanelHash) {    this._updateInfoPanel(parseInt(nodeType));  }  // Scroll to top  var doc = this.getContentDocument();  doc.body.scrollTop = 0;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/81eb7a06fca481ace7507df2e760534ffa2b71b3/DetailViewer.js/buggy/qooxdoo/source/demo/apiviewer/script/qx/apiviewer/DetailViewer.js