rem: }; 
add: } 
context: qx.Proto.setColumnVisible = function(col, visible) {  if (visible != this.isColumnVisible(col)) {    if (visible) {      var colToXPosMap = this._getColToXPosMap();      var overX = colToXPosMap[col].overX;      if (overX == null) {        throw new Error("Showing column failed: " + col          + ". The column is not added to this TablePaneModel.");      }      // get the visX of the next visible column after the column to show      var nextVisX;      for (var x = overX + 1; x < this._overallColumnArr.length; x++) {        var currCol = this._overallColumnArr[x];        var currVisX = colToXPosMap[currCol].visX;        if (currVisX != null) {          nextVisX = currVisX;          break;        }      }      // If there comes no visible column any more, then show the column      // at the end      if (nextVisX == null) {        nextVisX = this._visibleColumnArr.length;      }      // Add the column to the visible columns      this._visibleColumnArr.splice(nextVisX, 0, col);    } else {      var visX = this.getVisibleX(col);      this._visibleColumnArr.splice(visX, 1);    }    // Invalidate the _colToXPosMap    this._colToXPosMap = null;    // Inform the listeners    if (! this._internalChange) {      if (this.hasEventListeners("visibilityChangedPre")) {        var data = { col:col, visible:visible };        this.dispatchEvent(new qx.event.type.DataEvent("visibilityChangedPre", data), true);      };      if (this.hasEventListeners("visibilityChanged")) {        var data = { col:col, visible:visible };        this.dispatchEvent(new qx.event.type.DataEvent("visibilityChanged", data), true);      };    }    //this.debug("setColumnVisible col:"+col+",visible:"+visible+",this._overallColumnArr:"+this._overallColumnArr+",this._visibleColumnArr:"+this._visibleColumnArr);  }};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/TableColumnModel.js/clean/qooxdoo/source/script/qx/ui/table/TableColumnModel.js