On Nov 27, 3:50 am, Ewald Pankratz <[email protected]> wrote:
> I'm too stupid to understand how all the things are connected. I tried
> to find out where the abstract methode css() is implemented. It's in
> Mail sample of GWT 2.0 R2.
>
>   interface GlobalResources extends ClientBundle {
>     @NotStrict
>     @Source("global.css")
>     CssResource css();
>   }

It is implemented in a generated class (that's the power of "deferred
binding" and generators in GWT). If you pass "-gen somedir" to the
DevMode or Compiler, it'll output the generated class' Java source
code in a subfolder of "somedir".
The GlobalResources interface is only implemented (by a generated
class) if you call GWT.create(GlobalResources.class) in your code,
that's what tells GWT to use its "deferred binding" feature.

--

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