Hello!

I've just committed (rev:) some changes to our default appearance 
scheme. For our new caching ideas and to improve the performance of the 
appearance implementation, we had the plan to remove all calls to the 
widget itself, while applying the appearance.

This was true in these widgets:
* BarViewBar, BarViewPane, BarViewButton
* TabViewButton
* TableDataCell
* TreeElement (icon)
* TreeFolder (icon)

This part has now moved to be handled by the widget itself. The icons 
for the tree and configurable on a element base, while you also have a 
settings to configure the default icons.

The TabView and BarView classes uses a overwritten state style 
appearance applier. There they add some states dynamically, just before 
executing the appearance itself.

This new version works without any reference to the widget. That's nice 
and easier to understood I think as you have one variable less then 
previously to pipe through the different methods.

Also this is forward-compatible to the new improvements coming with 
0.6.x or/and 0.7.

I'm sorry for this, a bit late, API change. It's generally quite small 
and hopefully doesn't affect too much users. It was just an error in the 
thought out of the appearance system. And sometimes we need to fix this. 
So it's better today than after the release of qooxdoo 0.6.

To update your custom appearance you must modify:

initial : function(vWidget, vTheme)
to
initial : function(vTheme)

state : function(vWidget, vTheme, vStates)
to
state : function(vTheme, vStates)

stateFrom(vWidget, "XXX")
to
stateFrom("XXX", vStates)

initialFrom(vWidget, "XXX")
to
initialFrom("XXX")

After this update you must not use vWidget in your appearance.

Any bug reports are appreciated (Just mail them to this list). From now 
on this is also online under http://demo.qooxdoo.org.

Cheers,

Sebastian



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to