Cell-Backed Widgets

Skip to first unread message


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:
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

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

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

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