Howdy!

Dietrich Streifert wrote:
> BTW: For testing it would be faster if I would be able to overwrite the 
> class method dispose in a similar way we can overwrite instance methods 
> from "outside" of the framework:
> 
>  var constructor = qx.OO.classes["qx.core.Object"];
>  qx.Proto = constructor.prototype;
>  qx.Proto.dispose = function() {...};
> 
> Is there a hook for the qx.Class?

I'm not sure I understand what you would like to try...

Anyway, to access/override class methods (e.g. for Button):

qx.ui.form.Button.myClassMethod = function() { //... };

and instance methods:

qx.ui.form.Button.prototype.myInstanceMethod = function() { //... };

These overridings can be done after including the qooxdoo.js file.

Bye,

Andreas


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to