Thanks for your answer. Could you give an example? I use CSSResources for all my css styles, I don't legacy styles. I combine CssResources to create new ones, but don't see how I can use it to solve my problem.
Suppose I have a widget that needs common used style rules and have one style name, namely bla. So in code: public interface WidgetStyle extends CssResource { @ClassName("Bla") String bla(); { } Basically I want 3 common style rules of Bla to be easily reuse as they are used in many places (different css files). How can I realize this? - Ed Op zondag 15 juli 2012 18:08:26 UTC+2 schreef Joseph Lust het volgende: > > Ed, > > Have you considered the CSSResource interface in GWT? Since it is an > interface, you could have a base interface with base CSS rules, and then > extend that interface for various widget/module interfaces (CSS files) and > they'd get your desired rules too, while keeping those rules in a single > file. > > > Sincerely, > Joseph > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/04ZspRCzdSEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.