Thursday, May 27, 2010

Re: How to parse CSS

Thanks for your answer :)

Does the CssResource feature allow me to get access to a property
value of a selector in the CSS??
Explanation : I want to get the width and the height that I set in my
css, to use them in the java side.

Thank you

On 27 mai, 00:55, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 26 mai, 16:48, Amine Ouahman <amine.aitouah...@gmail.com> wrote:
>
> > Hi everybody,
>
> > I'm seeking some ideas about how to parse my CSS files and generate a
> > java class.
>
> If your goal is to generate a CssResource interface, GWT already gives
> you the com.google.gwt.resources.css.InterfaceGenerator tool (launch
> it as "java -cp gwt-user.jar
> com.google.gwt.resources.css.InterfaceGenerator")
>
> Otherwise, you can use CSSParser or Flute (GWT uses a patched version
> of Flute).

--
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.

No comments:

Post a Comment