Thanks T,
thron7 wrote:
> Mh, have you tried qx.Class.patch(qx.ui.core.MExecutable,
> custom.patch.MExecutable)?! That would be my first test to see if
> patching mixins is possible.
I tried this and it gave me an error that proto was undefined. I guess
this is because mixins are stored diffe
Matthew Gregory wrote:
> BTW:
> I've come up with this work around which works OK but would like to know
> if a more elegant solution exists.
>
>
>
> main : function()
> {
>qx.Class.include(qx.ui.core.Widget, custom.patch.MExecutable);
> }
>
Mh, have you tried qx.Class.patch(qx.ui.core.M
Thanks, but I would like my changes to apply to qooxdoo classes that
already include MExecute (Button for example).
Derrell Lipman wrote:
> On Tue, Apr 14, 2009 at 8:02 AM, Matthew Gregory
> mailto:matthew%2bqoox...@nogsnet.com>> wrote:
>
> BTW:
> I've come up with this work around whic
On Tue, Apr 14, 2009 at 8:02 AM, Matthew Gregory <
matthew+qoox...@nogsnet.com > wrote:
> BTW:
> I've come up with this work around which works OK but would like to know
> if a more elegant solution exists.
>
Although I've never tried it, I believe you can extend a mixin. Assuming you
can do that
BTW:
I've come up with this work around which works OK but would like to know
if a more elegant solution exists.
main : function()
{
qx.Class.include(qx.ui.core.Widget, custom.patch.MExecutable);
}
qx.Mixin.define("custom.patch.MExecutable",
{
construct : function()
{
if (qx.Clas
Hi All,
Is there an easy way to patch a mixin (rather than a class)?
We are working on quite a large application so it is important to us
that code is easy to maitain and is quite modular etc... We've created
patches for some of the base classes and these work fine, I'm now
wanting to patch the