|New CompositeTable build-API changes [message #575074]
||Fri, 19 January 2007 14:49
| Dave Orme
Registered: July 2009
In preparation for our (hopefully) upcoming API review with the SWT
team, I've made a pass through CompositeTable and cleaned up the most
glaring API inconsistencies. The changes were released last night as
version 0.9.0. Here is a summary of the changes:
- CompositeTable no longer has a "weights" or a "fillHorizontal"
property. CompositeTable is now 100% out of the layout business.
- Instead, a new layout, GridRowLayout, has been created that has the
old properties from CompositeTable. All of the layout code from
CompositeTable and InternalCompositeTable has been refactored into this
new layout manager.
All of the snippets have been updated to reflect the new API. Please
see them for details.
Thanks in advance for your patience as we work toward a 1.0 release.
The only remaining thing I'm not sure about is that CompositeTable has a
drawGridLines (forget the exact name right now) property. My gut says
that this is still too much magic, and needs to go away. I just haven't
figured out the best way to make it go away yet. (Since most people
never touch this property, this is probably not an issue.)
Powered by FUDForum
. Page generated in 0.09428 seconds