Assuming you do not use FocusPanel in other cases in this Widget just
anototate addSlot with @UiFactory and return newly created slot from
it:
@UiFactory FocusPanel void addSlot() {
final FocusPanel fp = new FocusPanel();
vp.add(fp);
return fp;
}
this will cause uibinder to call this method instead of FocusPanel's
constructor.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.