X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2FTable%2FAbstractSelectionModel.js;fp=Roo%2Fbootstrap%2FTable%2FAbstractSelectionModel.js;h=6d80350cbd6b228aab936550e707e8b2f8221163;hp=4fc52b9b73554fb6489f92d5c0b4be7d89e50ffd;hb=d81ddeecb21edfe27401017eb4d0cc01dfae425b;hpb=5a09638750d76b5c2f42753ab924401909761f61 diff --git a/Roo/bootstrap/Table/AbstractSelectionModel.js b/Roo/bootstrap/Table/AbstractSelectionModel.js index 4fc52b9b73..6d80350cbd 100644 --- a/Roo/bootstrap/Table/AbstractSelectionModel.js +++ b/Roo/bootstrap/Table/AbstractSelectionModel.js @@ -1,49 +1,5 @@ /** - * @class Roo.bootstrap.Table.AbstractSelectionModel - * @extends Roo.util.Observable - * Abstract base class for grid SelectionModels. It provides the interface that should be - * implemented by descendant classes. This class should not be directly instantiated. - * @constructor + * @depricated + * Just use grid selection model */ -Roo.bootstrap.Table.AbstractSelectionModel = function(){ - this.locked = false; - Roo.bootstrap.Table.AbstractSelectionModel.superclass.constructor.call(this); -}; - - -Roo.extend(Roo.bootstrap.Table.AbstractSelectionModel, Roo.util.Observable, { - /** @ignore Called by the grid automatically. Do not call directly. */ - init : function(grid){ - this.grid = grid; - this.initEvents(); - }, - - /** - * Locks the selections. - */ - lock : function(){ - this.locked = true; - }, - - /** - * Unlocks the selections. - */ - unlock : function(){ - this.locked = false; - }, - - /** - * Returns true if the selections are locked. - * @return {Boolean} - */ - isLocked : function(){ - return this.locked; - }, - - - initEvents : function () - { - - } -}); \ No newline at end of file