Re: [gwt-contrib] Re: Uibinder parser api
It's not about the lack of a plugin mechanism, it's about discomfort with an api that requires people to emit lines of java too much, and lack of time to clean it up. On Thu, Sep 9, 2010 at 9:22 AM, Thomas Broyer t.bro...@gmail.com wrote: On Sep 9, 1:45 pm, Konstantin.Scheglov konstantin.scheg...@gmail.com wrote: If anyone wants to submit a patch to make it possible to subclass UiBinderGenerator and tweak its parsers that way, s.t. you can provide an alternative replace-with rule for your custom subclass, I'd be in favor of that. Presuming Joel doesn't shoot me down. Hm... Replacing UiBinderGenerator means that at same time only one replacement can be used. So, for example if I use some widgets toolkit and it provides generator for its widgets, then I can not use generator of second toolkit. If you weren't dumbing down to Java 5, I'd suggest using java.util.ServiceLoader to simply load plugins from the classpath: http://download.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html But sure it could be done with a new element in gwt.xml module descriptors. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: Uibinder parser api
The 2.1 release branch will be cut from trunk. Trunk does not include a public api to add new parsers to UiBinder. If anyone wants to submit a patch to make it possible to subclass UiBinderGenerator and tweak its parsers that way, s.t. you can provide an alternative replace-with rule for your custom subclass, I'd be in favor of that. Presuming Joel doesn't shoot me down. rjrjr On Mon, Sep 6, 2010 at 3:54 AM, T tomek.maty...@gmail.com wrote: 2.1 GA is not going to be built from trunk? On Sep 3, 3:38 pm, Ray Ryan rj...@google.com wrote: We'd like it to, but we haven't set a date. On Sep 3, 2010 12:15 AM, Johan Rydberg johan.rydb...@edgeware.tv wrote: On 9/1/10 10:01 PM, Ray Ryan wrote: Sorry, still not public. However, we're landing a patch that will eliminate a lot of the need for it: OK. But will it become public at some point in time? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors