Tuesday, September 27, 2016

Re: JsInterop and constants

or you can move your constants to another class since they are not js visibile...

On Tue, Sep 27, 2016 at 2:43 PM, Thomas Broyer <t.broyer@gmail.com> wrote:

On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov wrote:
or you want a Java-only field in that interface (like you had in your JSO previously), and then you need to use @JsOverlay.

Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. Should I add JsOverlay 150 times ? 
Is it possible for GWT to automatically look at scalar constants (static final primitive types) as if they are JsOverlay ? 

Well, it could be (feel free to file an issue) but it won't make it into 2.8.0 (possibly 2.8.1 though; given that it'd be backwards-compatible).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--
Vassilis Virvilis

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment