Tuesday, June 28, 2011

Re: GWT Designer and IsWidget

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.

See "Creating Custom Widgets" in the GWT Developer's Guide...

http://code.google.com/webtoolkit/doc/latest/DevGuideUiCustomWidgets.html

On Jun 28, 9:15 am, Stefan <sbara...@gmail.com> wrote:
> Hi All,
> I am implementing a view that cannot extends from Widget. It must
> extend from another type. The view does implement IsWidget.
>
> My issue is that theGWTDesignerdoes not allow the view to be used.
> My question is does theGWTDesignersupport IsWidget and if it does,
> what do I need to do in order to make my viewDesignerfriendly?
>
> Thanks
>  Stefan

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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