On Friday, July 20, 2012 6:42:02 PM UTC+2, Jens wrote:
> Actually UiBinder special treats "addStyleNames" for normal widgets (it
> works with <my:MyViewImpl addStyleNames=...>) but it stops doing so when it
> sees something that does not extend Widget I guess.
>
FYI, this is true, the special code is in
com.google.gwt.uibinder.elementparsers.UIObjectParser
which is registered in
com.google.gwt.uibinder.rebind.UiBinderWriter.registerParsers()
That method already contains a code comment:
// TODO(rjrjr): Allow third-party parsers to register themselves
// automagically
Then again, if such a parser were registered, it probably shouldn't be
registered for IsWidget, but instead for a new Interface that contains the
addStyleName method.
--
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/-/KD9538Bd7TwJ.
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.