> Designer, you should ideally subclass Composite although subclassing
> Widget will also work.
Well, in my case I was trying to build a widget that extends from
ListEditor so it works with the Editor framework. And since ListEditor
is not part of the Widget hierarchy I figured implementing IsWidget
should do the trick. And it does it for the UiBinder. The GWT Designer
also recognized it as a widget and even managed to preview it.
Unfortunately, the GWT Designer did not allow me to drag and drop it,
nor it showed it in the widget hierarchy. So I was thinking that by
implementing some other interface I can make the GWT Designer work.
Eventually, I figured out that ListEditor is a bad choice, so I
rewrote my widget and now it extends from Composite and all is good.
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