Tuesday, June 28, 2011

Re: GWT Designer and IsWidget



On Tuesday, June 28, 2011 6:17:31 PM UTC+2, Eric Clayberg - Instantiations wrote:
If you want to create a custom component that will work with GWT
Designer, you should ideally subclass Composite although subclassing
Widget will also work.

If you place your class somewhere other than the Widget hierarchy,
then you really aren't creating a valid GWT UI component. Implementing
an isWidget() method does not actually make the component a widget.

That's true that it's not reall a widget, but it can be used as such (including in UiBinder!) with most widgets, now that they all accept IsWidget as children.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/z-E0wAjaoWcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment