> Makes IsWidget a first class concept, and makes it convenient to
> use with all standard panels. This lets us get rid of Activity.Display.

I think this is great. Is there anyway it could be taken further and
IsXxx interfaces added for all widgets?

I ask because I've been doing this on my own, as I use each widget, and
it is somewhat tedious:

http://github.com/stephenh/gwt-mpv/tree/master/user/src/main/java/org/gwtmpv/widgets

But I put up with it because if each widget has an interface, I can code
generate the entire Xxx.Display/XxxView from the xxx.ui.xml file and get
rid of a slew of MVP boilerplate (I haven't hand-written a Display
interface, view class, MyUiBinder inner class, or @UiField in months).

Here is a basic writeup:

http://www.gwtmpv.org/viewgeneration.html

Plus, as I think was mentioned in one of the MVP presentations, I go
ahead and provide StubXxx implementations of each widget, and code
generate a StubXxxView that has each ui:field set to an instance of
its corresponding stub widget, making view testing simple as well.

- Stephen

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to