rem: }; }; 
add: } } 
context: qx.Proto._onbarmouseup = function(e){  var s = this._moveSession;  if (s)  {    // disable capturing    this._bar.setCapture(false);    // deactivate global cursor    this._bar.getTopLevelWidget().setGlobalCursor(null);    // sync sizes to bar    switch(this.getMoveMethod())    {      case QxSplitPane.MODE_BAR:        var obj = this._frame;        if (!(obj && obj.getParent())) {          break;        };        // no break here      case QxSplitPane.MODE_LAZYOPAQUE:        var firstWidget = this.getFirstWidget();        var secondWidget = this.getSecondWidget();        switch(this.getOrientation())        {          case qx.constant.Layout.ORIENTATION_HORIZONTAL :            this._lastDividerLocation = s.boxLeft;            s.newPosition = s.boxLeft - s.parentAreaOffsetLeft + e.getPageX() - s.firstPageX;            firstWidget.setWidth(s.newPosition.limit(s.minPos, s.maxPos));            secondWidget.setWidth(s.parentAreaOffsetRight - s.parentAreaOffsetLeft - s.boxWidth - s.newPosition);            break;          case qx.constant.Layout.ORIENTATION_VERTICAL :            this._lastDividerLocation = s.boxTop;            s.newPosition = s.boxTop - s.parentAreaOffsetTop + e.getPageY() - s.firstPageY;            firstWidget.setHeight(s.newPosition.limit(s.minPos, s.maxPos));            secondWidget.setHeight(s.parentAreaOffsetBottom - s.parentAreaOffsetTop - s.boxHeight - s.newPosition);            break;        };        if (this.getMoveMethod() == QxSplitPane.MODE_BAR) {          this._frame.setParent(null);        };        // Divider buttons        this._buttonLayout.addAt(this._minimizeButton, 0);        this._buttonLayout.addAt(this._maximizeButton, 1);        if(this.getDividerLocation() == this._lastDividerLocation)        {          this._buttonLayout.remove(this._restoreButton);        }        else        {          this._buttonLayout.addAt(this._restoreButton, 2);        };                break;      case QxSplitPane.MODE_TRANSLUCENT:        this._bar.setOpacity(null);        break;    };    this.setDividerLocation(this._lastDividerLocation);    delete this._moveSession;  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/QxSplitPane.js/buggy/qooxdoo/source/contributed/splitpane_olsson/QxSplitPane.js