Tuesday, August 12, 2014

Re: Visibility problems when using css.InterfaceGenerator

just ran into this issue with gwt 2.6.0 and the css generation controlled by gwt-maven-plugin 2.6.0
Is there a fix yet? is there some option to set to make the interface public?
I guess I will implement your workaround extending the protected interfaces with a public one, but I also would prefer to not have to do that.

On Friday, April 1, 2011 10:21:57 AM UTC+2, Raphael Bauer wrote:
On Wed, Mar 30, 2011 at 12:07 PM, Thomas Broyer <t.br...@gmail.com> wrote:
> Every member of an interface can only be public (and is implicitly so,
> without the need to explicitly use the 'public' keyword), including inner
> interfaces.
> http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.5

Thanks Thomas. That makes total sense.
But the problem are not the members of the interface, but the
visibility of the interface itself I guess
http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.1.1).

In my opinion
interface MyGeneratedCssInterface extends CssResource {

is quite different to
public interface MyGeneratedCssInterface extends CssResource {


Maybe my explanation of the problem was not the best. Sorry.


Best,

Raphael

>
> --
> 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-we...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@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 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment