It should be... I have seen the custom parsers on the gwt source, but I
didn't see if is there any extension system to declare one of your own.
You can still do this:
<g:HorizontalPanel>
<g:HTML>
<SVG>
<rect ... />
<circle ... />
</SVG>
</g:HTML>
</g:HorizontalPanel>
2010/3/11 Jan Ehrhardt <[email protected]>
> Hi,
>
> I would like to extend the UI-Binder to handle custom types. In my case
> these are SVG DOM elements. I would like to do something like:
>
> <g:HorizontalPanel>
> <SVG>
> <rect ... />
> <circle ... />
> </SVG>
> </g:HorizontalPanel>
>
> In the above example, SVG is a subclass of Widget, that wraps the svgweb
> library (http://code.google.com/p/svgweb/). The 'rect' and 'circle' tags
> should be handled as subclasses of Element, like 'div' tags in the
> HTMLPanel. Of cause, I want to bind a RectElement object in my Java class to
> the 'rect' tag in my ui.xml file.
>
> I know, that UI-Binder uses deferred binding by parsing the XML and
> generating an implementation of UIBinder interface for compiling, but how
> can I extend this by my own handler for doing the above stuff?
>
> Regards
> Jan Ehrhardt
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
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.