rem: }; 
add: } 
context: qx.Proto.setItemSelected = function(vItem, vSelected){  var hc = this.getItemHashCode(vItem);  switch(this.getMultiSelection())  {    // Multiple item selection is allowed    case true:      if (!this.getItemEnabled(vItem)) {        return;      };      // If selection state is not to be changed => return      if (this.getItemSelected(vItem) == vSelected) {        return;      };      // Otherwise render new state      this.renderItemSelectionState(vItem, vSelected);      // Add item to selection hash / delete it from there      vSelected ? this._selectedItems.add(vItem) : this._selectedItems.remove(vItem);      // Dispatch change Event      this._dispatchChange();      break;    // Multiple item selection is NOT allowed    case false:      var item0 = this.getSelectedItems()[0];      if (vSelected)      {        // Precheck for any changes        var old = item0;        if (this.isEqual(vItem, old)) {          return;        };        // Reset rendering of previous selected item        if (old != null) {          this.renderItemSelectionState(old, false);        };        // Render new item as selected        this.renderItemSelectionState(vItem, true);        // Reset current selection hash        this._selectedItems.removeAll();        // Add new one        this._selectedItems.add(vItem);        // Dispatch change Event        this._dispatchChange();      }      else      {        // Pre-check if item is currently selected        // Do not allow deselection in single selection mode        if (!this.isEqual(item0, vItem))        {          // Reset rendering as selected item          this.renderItemSelectionState(vItem, false);          // Reset current selection hash          this._selectedItems.removeAll();          // Dispatch change Event          this._dispatchChange();        };      };      break;  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/SelectionManager.js/clean/qooxdoo/source/script/qx/manager/selection/SelectionManager.js