It seems like it should be possible to implement a kind of server-side
GWT.create() that generates an subclass using cglib or one of the
other bytecode generators.  Maybe it would only work for the Constants
and Messages interfaces, and a minor selection of others, but it would
be quite useful.  Unfortunately, it would be difficult to implement
this outside of GWT because the client code a) can't use any classes
not supported by GWT and b) must use GWT.create with a literal class
(not a variable) as the parameter.

On Sep 23, 5:21 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> Martin Trummer schrieb:
>
> > Maybe another approach would be to extend the GWT-i18n tool, which
> > already does the properties file parsing and creates the interface
> > file.
> > I have not looked at this tool yet, but maybe it can be extended to
> > generate another file for the backend, that implements the interface
> > methods and builds the messages from the ResourceBundle.
>
> That would make force everybody to actually use the tool regularily
> to create the interface-file. I - for example - doesn't use the tool
> but add methods to the interface-file by hand while developing the
> GUI. In the long run, I realized that I'm faster and I'm also adding
> Javadoc-comments describing the meaning behind the entry.
>
> Regards, Lothar
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to