Re: InterfaceGenerator and @external
My CSS file was wrong. I fixed it. Sorry for the trouble.
@external gwt-Button;
.gwt-Button {
padding: 6px 10px;
}
On Oct 2, 5:43 pm, Sydney <sydney.henr...@gmail.com> wrote:
> I use the InterfaceGenerator with my CSS file but the output is not a
> valid Java class. The goal is to style all my Button so I
> redefined .gwt-Button
> Do you have the same issue?
>
> test.css
> @external .gwt-Button {
> padding: 6px 10px;
>
> }
>
> The call
> InterfaceGenerator -standalone -typeName
> com.app.client.view.MyCssDebug -css src/com/app/client/view/test.css
>
> The output
>
> // DO NOT EDIT
> // Automatically generated by
> com.google.gwt.resources.css.InterfaceGenerator
> package com.app.client.view;
> import com.google.gwt.resources.client.CssResource;
> import com.google.gwt.resources.client.CssResource.ClassName;
> interface MyCssDebug extends CssResource {
>
> @ClassName("10px;\r\n")
> String 0px();
>
> @ClassName("6px")
> String px();
>
> @ClassName("gwt-Button")
> String gwtButton();
>
> @ClassName("{\r\n padding:")
> String Padding();
>
>
>
>
>
>
>
> }
--
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-toolkit@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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home