That also won't work for me, as I still use some instances of the original
class (I have objects both of the original class and of my subclass...).
More ideas?
Jean-Noel
On Fri, Nov 27, 2009 at 10:50 AM, Derrell Lipman <
[email protected]> wrote:
> On Fri, Nov 27, 2009 at 13:31, Jean-Noël Rivasseau <[email protected]>wrote:
>
>> Hi Derell, thanks for the reply.
>>
>> That's an interesting way you suggest, unfortunately it won't be enough in
>> my case, as I have methods that have the same name as those of the base
>> class (eg, I am overriding them). So a Mixin wont be allright.
>>
>> Any more ideas?
>>
>
> If you really, really know what you're doing and it's ok to override
> those methods for ALL uses of the class, then you can use qx.Class.patch ()
> instead of qx.Class.include(). This will allow you to override methods of
> the original class, effectively modifying the original class at run-time. If
> you do this, you need to know that nothing else, e.g. as used by the
> framework, depends on the original behavior.
>
> Derrell
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel