rem: if (this.getVisibility()) { 
add:  if (this.getVisibility()) {  
context: qx.Proto._handleDisplayable = function(vHint){  // Detect changes. Return if there is no change.  // Also handle the case if the displayable keeps true and the parent  // was changed then we must not return here.  var vDisplayable = this._computeDisplayable();  if (this._isDisplayable == vDisplayable && !(vDisplayable && vHint == qx.OO.PROPERTY_PARENT)) {    return true;  }  this._isDisplayable = vDisplayable;  var vParent = this.getParent();  // Invalidate visible children  if (vParent)  {    vParent._invalidateVisibleChildren();    vParent._invalidatePreferredInnerDimensions();  }  // Remove old parent's elements from DOM and delete old parent  if (vHint && this._oldParent && this._oldParent._initialLayoutDone)  {    var vElement = this.getElement();    if(vElement)    {      if (this.getVisibility()) {        this._beforeDisappear();      }      this._beforeRemoveDom();      this._oldParent._getTargetNode().removeChild(vElement);      this._afterRemoveDom();      if (this.getVisibility()) {        this._afterDisappear();      }    }    delete this._oldParent;  }  // Handle 'show'  if (vDisplayable)  {    /* --------------------------------       Update current parent    -------------------------------- */    // The layouter added some layout jobs    if (vParent._initialLayoutDone)    {      vParent.getLayoutImpl().updateChildrenOnAddChild(this, vParent.getChildren().indexOf(this));      // Inform parents job queue      vParent.addToJobQueue(qx.ui.core.Widget.JOB_ADDCHILD);    }    // Add to parents children queue    // (indirectly with a new layout request)    this.addToLayoutChanges(qx.ui.core.Widget.JOB_INITIAL);    // Add to custom queues    this.addToCustomQueues(vHint);    // Handle beforeAppear signals    if (this.getVisibility()) {      this._beforeAppear();    }    /* --------------------------------       Add to global Queues    -------------------------------- */    // Add element (and create if not ready)    if (!this._isCreated) {      qx.ui.core.Widget.addToGlobalElementQueue(this);    }    // Add to global queues    qx.ui.core.Widget.addToGlobalStateQueue(this);    if (!qx.lang.Object.isEmpty(this._jobQueue)) {      qx.ui.core.Widget.addToGlobalJobQueue(this);    }    if (!qx.lang.Object.isEmpty(this._childrenQueue)) {      qx.ui.core.Widget.addToGlobalLayoutQueue(this);    }  }  // Handle 'hide'  else  {    // Removing from global queues    qx.ui.core.Widget.removeFromGlobalElementQueue(this);    qx.ui.core.Widget.removeFromGlobalStateQueue(this);    qx.ui.core.Widget.removeFromGlobalJobQueue(this);    qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);    // Add to top-level tree queue    this.removeFromCustomQueues(vHint);    // only remove when itself want to be removed    // through a property change - not a parent signal    if (vParent && vHint)    {      if (this.getVisibility()) {        this._beforeDisappear();      }      // The layouter added some layout jobs      if (vParent._initialLayoutDone && this._initialLayoutDone)      {        vParent.getLayoutImpl().updateChildrenOnRemoveChild(this, vParent.getChildren().indexOf(this));        // Inform parent's job queue        vParent.addToJobQueue(qx.ui.core.Widget.JOB_REMOVECHILD);        // Before Remove DOM Event        this._beforeRemoveDom();        // DOM action        vParent._getTargetNode().removeChild(this.getElement());        // After Remove DOM Event        this._afterRemoveDom();      }      // Remove from parents children queue      vParent._removeChildFromChildrenQueue(this);      if (this.getVisibility()) {        this._afterDisappear();      }    }  }  this._handleDisplayableCustom(vDisplayable, vParent, vHint);  return true;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/32797ee18a2c92a797417cb1392f24fa90943b97/Widget.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/core/Widget.js