@Nicolas, Re: the need for a proxy interface > I believe it is a limitation of GWT generators that they have to be > attached to classes/interfaces. If anybody has a better idea I'm a > buyer. But isn't it better than manually writing/editing > ActivityManagers? >
Is it not possible to set an annotation above the presenter ? if presenters implements an interface (Presenter) it should be possible to handle it with a generator and write extra code, no ? (Well I suppose, I never tried to write a real generator). However, this generator might be more difficult to write since it has to mix generated code with user code. It might look a but curious, for the hand written part. But to me, it looks ugly to have empty inner interfaces in my code. Hand coded place are a bit longer to write (10 seconds), but at least, it is a classic style :) However, I am using uiBinder and the empty UiBinder<> interface is ugly too... And I can't do anything against it :) (But I am still looking for a way of remove it. Maybe that gin will help me). I think that my vision about code style is very personal and that lots of people prefer to use the annotated inner interface, so do not worry about my comments Phillipe :) Cheers, Nicolas > > Cheers, > > Philippe > > On Nov 8, 1:35 am, Nicolas Antoniazzi <nicolas.antonia...@gmail.com> > wrote: > > Hi Phillipe, > > > > Also, I think it's a bit unfair to call GWTP's code generation "magic" > > > > when GWT relies on it for so many different things... But if you > > > > > really want to write proxys yourself, GWTP's allows it. > > > > Yes, I agree that I was a bit unfair with GWTP. In my opinion, it would > be a > > geater tool (for me) if the code in front of generators were more concise > > (just annotation, no empty interfaces to add), and maybe more "optional". > > bindPresenter() needs view, proxyplace, presenter. But if I prefer to not > > use ProxyPlace as you suggest, I can't. > > > > > Out of curiosity, which version of GWTP did you try? > > > > 0.4. But I might not have been in the depth of the framework (Just coded > 4 > > main pages of my app) until I get blocked by the Top Div/RootPresenter > > problem that I explained before. > > > > Cheers, > > > > Nicolas. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.