changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu)

This commit is contained in:
Ralf Becker
2014-03-20 09:40:37 +00:00
parent f517b5786f
commit ac18b6cc8d
20 changed files with 295 additions and 571 deletions

View File

@ -19,15 +19,15 @@
*/
/**
* The row provider contains prototypes (full clonable dom-trees)
* The row provider contains prototypes (full clonable dom-trees)
* for all registered row types.
*
*
* @augments Class
*/
var et2_dataview_rowProvider = Class.extend(
{
/**
*
*
* @param _outerId
* @param _columnIds
* @memberOf et2_dataview_rowProvider
@ -57,6 +57,10 @@ var et2_dataview_rowProvider = Class.extend(
* Returns a clone of the prototype with the given name. If the generator
* callback function is given, this function is called if the prototype
* does not yet registered.
*
* @param {string} _name
* @param {function} _generator
* @param {object} _context
*/
getPrototype: function(_name, _generator, _context) {
if (typeof this._prototypes[_name] == "undefined")