rem: }; 
add: } 
context: function QxSplitPane(vOrientation){  qx.ui.layout.BoxLayout.call(this, vOrientation);  // ************************************************************************  //   MOVE FRAME  // ************************************************************************  var f = this._frame = new qx.ui.basic.Terminator;  f.setAppearance("splitpane-move-frame");  // ***********************************************************************  //   PANE 1  // ***********************************************************************  var p1 = this._firstWidget = new qx.ui.layout.CanvasLayout();  this.setLeftWidget(p1);  // ***********************************************************************  //   SPLITTER BAR  // ***********************************************************************  var sb = this._bar = new qx.ui.layout.BoxLayout(vOrientation == qx.constant.Layout.ORIENTATION_HORIZONTAL ? qx.constant.Layout.ORIENTATION_VERTICAL : qx.constant.Layout.ORIENTATION_HORIZONTAL);  sb.setAppearance("splitpane-divider");  switch(this.getOrientation())  {    case qx.constant.Layout.ORIENTATION_HORIZONTAL :      sb.setWidth(this.getDividerSize());      break;    case qx.constant.Layout.ORIENTATION_VERTICAL :      sb.setHeight(this.getDividerSize());      break;  };  sb.addEventListener(qx.constant.Event.MOUSEDOWN, this._onbarmousedown, this);  sb.addEventListener(qx.constant.Event.MOUSEUP, this._onbarmouseup, this);  sb.addEventListener(qx.constant.Event.MOUSEMOVE, this._onbarmousemove, this);  this.add(sb);  // ***********************************************************************  //   BUTTONS  // ***********************************************************************  var buttonLayout = this._buttonLayout = new qx.ui.layout.BoxLayout(this.getOrientation() == qx.constant.Layout.ORIENTATION_HORIZONTAL ? qx.constant.Layout.ORIENTATION_VERTICAL : qx.constant.Layout.ORIENTATION_HORIZONTAL);  buttonLayout.setHorizontalChildrenAlign(qx.constant.Layout.ALIGN_CENTER);  switch(this.getOrientation())  {    case qx.constant.Layout.ORIENTATION_HORIZONTAL :      this._minimizeImage = new qx.ui.basic.Image("widgets/arrows/left-divider.gif");      this._maximizeImage = new qx.ui.basic.Image("widgets/arrows/right-divider.gif");      this._restoreImage = new qx.ui.basic.Image("widgets/arrows/restore-horiz-divider.gif");      break;    case qx.constant.Layout.ORIENTATION_VERTICAL :      this._minimizeImage = new qx.ui.basic.Image("widgets/arrows/up-divider.gif");      this._maximizeImage = new qx.ui.basic.Image("widgets/arrows/down-divider.gif");      this._restoreImage = new qx.ui.basic.Image("widgets/arrows/restore-vert-divider.gif");      break;  };  sb.add(buttonLayout);  // ***********************************************************************  //   BUTTONS: MINIMIZE  // ***********************************************************************  var minB = this._minimizeButton = new qx.ui.form.Button();  minB.add(this._minimizeImage);  minB.setAppearance("splitpane-button");  minB.setTabIndex(-1);  minB.addEventListener(qx.constant.Event.CLICK, this._onminimizebuttonclick, this);  minB.addEventListener(qx.constant.Event.MOUSEDOWN, this._onbuttonmousedown, this);  buttonLayout.add(minB);  // ***********************************************************************  //   BUTTONS: RESTORE  // ***********************************************************************  var restoreB = this._restoreButton = new qx.ui.form.Button();  restoreB.add(this._restoreImage);  restoreB.setAppearance("splitpane-button");  restoreB.setTabIndex(-1);  restoreB.addEventListener(qx.constant.Event.CLICK, this._onrestorebuttonclick, this);  restoreB.addEventListener(qx.constant.Event.MOUSEDOWN, this._onbuttonmousedown, this);  // ***********************************************************************  //   BUTTONS: MAXIMIZE  // ***********************************************************************  var maxB = this._maximizeButton = new qx.ui.form.Button();  maxB.add(this._maximizeImage);  maxB.setAppearance("splitpane-button");  maxB.setTabIndex(-1);  maxB.addEventListener(qx.constant.Event.CLICK, this._onmaximizebuttonclick, this);  maxB.addEventListener(qx.constant.Event.MOUSEDOWN, this._onbuttonmousedown, this);  buttonLayout.add(maxB);  // ***********************************************************************  //   PANE 2  // ***********************************************************************  var p2 = this._secondWidget = new qx.ui.layout.CanvasLayout();  this.setRightWidget(p2);});
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