Cell-Backed Widgets

63 views
Skip to first unread message

July

unread,
Jun 28, 2012, 11:13:10 PM6/28/12
to google-we...@googlegroups.com
HI all:

I found one doc from GWT offcial wiki page, it's about cell-backed widgets:

The idea in this doc is really nice, however seem GWT does not continue with this idea? in this package:
com.google.gwt.widget.client
there are merely only one of the "modern widget" since 2011.

I think It would be very regretful if GWT team quit this wonderful design pattern.

Andrea Boscolo

unread,
Jun 29, 2012, 6:19:45 AM6/29/12
to google-we...@googlegroups.com
AFAICT the only widget implemeted this way is TextButton (backed by TextButtonCell) and it shouldn't be abandoned.
In the new release of Sencha GXT 3 such pattern is hevily used throughout the whole widget set, so it is at least well proven.

Thomas Broyer

unread,
Jun 29, 2012, 9:06:33 AM6/29/12
to google-we...@googlegroups.com
It actually wouldn't surprise me if the buttons in Google Groups were com.google.gwt.widget.client.TextButton-s or similar, with a Groups-specific Appearance.
Decoration.PRIMARY would be red (new topic or post reply) or green (post) depending on context.
That button is the only (built-in) one supporting "collapsing" (IsCollapsible) as used in the overview/discussion or tree/flat "switches" (mutually exclusive pairs of toggle buttons), or the "post reply" and its "split button" to open the drop down menu; so it might very well be that they're using them, and maybe created a few others that haven't been open sourced.


On Friday, June 29, 2012 5:13:10 AM UTC+2, July wrote:

Andrés Testi

unread,
Jun 29, 2012, 6:19:08 PM6/29/12
to google-we...@googlegroups.com
+1
Reply all
Reply to author
Forward
0 new messages