rem: construct : function( canClose ) { 
add: construct : function( parent, canClose ) { 
context:   construct : function( canClose ) {    this.base( arguments );    this.setAppearance( "c-tab-item" );    this.setVerticalChildrenAlign( qx.constant.Layout.ALIGN_MIDDLE );    this.setHorizontalChildrenAlign( qx.constant.Layout.ALIGN_LEFT );    this.setOverflow( qx.constant.Style.OVERFLOW_HIDDEN );    this.setTabIndex( -1 );    // Set the label part to 'html mode'    this.setLabel( "(empty)" );    this.getLabelObject().setMode( qx.constant.Style.LABEL_MODE_HTML );    this.getLabelObject().setVerticalAlign( qx.constant.Layout.ALIGN_MIDDLE );    this.setLabel( "" );    this._selected = false;    this._unselectedCloseVisible = true;    this._selectionBackground = null;    this._selectionForeground = null;    if( canClose ) {      this._closeButton = new qx.ui.basic.Image();      this._closeButton.setWidth( 20 );      // TODO [rh] center image vertically in tab item      this._closeButton.setHeight( "80%" );      this._closeButton.addEventListener( "click", this._onClose, this );      var wm = org.eclipse.swt.WidgetManager.getInstance();      wm.setToolTip( this._closeButton,                      org.eclipse.swt.custom.CTabFolder.CLOSE_TOOLTIP );      this.add( this._closeButton );      this._updateCloseButton();    } else {      this._closeButton = null;    }    this._control = null;    this.addEventListener( "mouseover", this._onMouseOver, this );    this.addEventListener( "mouseout", this._onMouseOut, this );    this.addEventListener( "click", this._onClick, this );    this.addEventListener( "dblclick", this._onDblClick, this );  },
meta: 8114	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8114/fabc1db755529c5cbcfc9f78a3d65176d691dba7/CTabItem.js/buggy/bundles/org.eclipse.rap.rwt/js/org/eclipse/swt/custom/CTabItem.js