Hello Jean-Noël,
extending a singleton class is currently not supported. I think it's not an
easy task anyway. Both classes do have the getInstance method.  But what
should they return? Always the instance of the extended class, or an
instance of the class you are using? The last option could get some problem
if you call it on both classes. You would have two objects which is kind of
odd for a singleton.
But you can always patch a class using a mixin, or don't use the qooxdoo
singleton type and implement the singleton pattern by yourself. But then you
have to take care of the problems I just described.
Best,
Martin
-- 
View this message in context: 
http://n2.nabble.com/Extending-a-singleton-class-tp4593441p4596651.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to