Doh! I have no idea. I have to talk to Fabian, but I can do this not until tomorrow.
Perhaps, Sebastian or someone else have any idea. I'm sorry, Chris Matthew Gregory schrieb: > I don't think that will work, I've tried patching Mixins before and it > doesn't work. > > Christian Schmidt wrote: > >> Hi Matt, >> >> I'm not sure, but the using from qx.Class.patch() [1] could help in your >> case. >> >> Call this method so early as possible, e.q. in the Application.js with >> the new mixin that should override the "addState" method. >> qx.Class.patch(qx.ui.core.Widget, custom.MyMixin); >> >> If you have any problems, please ask. >> >> Cheers, >> Chris >> >> [1] http://demo.qooxdoo.org/current/apiviewer/#qx.Class~patch >> >> Matthew Gregory schrieb: >> >>> Hi, >>> Currently this.base doesn't work from within a mixin. This looks like it >>> is by design. From qx.class.__addMixin: >>> >>> if (entry.$$members) { >>> this.__addMembers(clazz, entry.$$members, patch, patch, patch); >>> >>> The last parameter allows qx.Class to attach "base" to the function, but >>> it is always false for Mixins. >>> >>> Is this by design, if so why? >>> >>> I have a mixin that helps with our GUI, it needs to override >>> add/removeState. I can workaround the problem for now by manually doing >>> this in the Mixin c'tor, but i need a better solution. >>> >>> this.addState.base = qx.ui.core.Widget.prototype.addState; >>> >>> TIA, >>> Matt >>> >>> >>> ------------------------------------------------------------------------------ >>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >>> production scanning environment may not be a perfect world - but thanks to >>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >>> i700 >>> Series Scanner you'll get full speed at 300 dpi even with all image >>> processing features enabled. http://p.sf.net/sfu/kodak-com >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
