> Interesting topic. 
> Can't really comment on those things but I guess the CellWidgets are a 
> good starting point. 
> I also came across a good stackoverflow reply which I think might also be 
> useful: http://stackoverflow.com/a/7481137/356594
>

Yeah I have also came across this link and it looks pretty similar to the 
appearance pattern. Downside is that when your widget only implements 
IsWidget then its not fully UiBinder compatible as <g:Spinner 
addStyleNames=""/> does not work anymore. You probably also want to define 
your own IsWidget interface that extends GWT's IsWidget so you can add all 
methods that GWT's Widget class provides. Otherwise you can't call the 
Widget setter methods from UiBinder (setHeight(), etc.).

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to