Robert Nimax wrote:
> 
> Hi,
> I do not think, you can do it. Even the"refine" key of a property will
> only affect the initial value.
> You should really think about your class design. If there is a property
> of another type in the sub class you should give it another name,
> because it is a different property and the semantics are different.
> Furhtermore if you´d change the type of a property in a subclass how
> can you be shure that there will be no problem if the base class uses
> this property ? 
> 

Of course, I take into account this kind of problems (base class calls,
...). I planned to make base calls when the incoming value was of the
original type and call the whole new process in the new case.

Let me explain: the parent class is present in the main framework and I
don't want to completely rewrite it to keep some consistency between my
developments and future evolutions of the main qx framework...

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/the-best-way-for-properties-real-overwritting-tp6367889p6368038.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to