[gwt-contrib] Re: Some more comments on widget styling

2008-11-21 Thread dflorey
Ok, I'm convinced that my proposal using annotations would just make sense for a very limited set of usecases. But do you see a chance to include the CssResource styles into the ImmutableResourceBundle, so that we can use something like a CssStyleResource directly in ImmutrableResourceBundle. It w

[gwt-contrib] Re: Some more comments on widget styling

2008-11-21 Thread Ray Cromwell
I don't think it is a good idea to try and represent CSS stylesheet rules as Java annotations. CSS is a DSL tuned for this specification, Java annotations would be a poor substitute. The only gain would be IDE type checking, but the downside would be the inability to have non-Java people work on t

[gwt-contrib] Re: Some more comments on widget styling

2008-11-21 Thread BobV
On Fri, Nov 21, 2008 at 1:37 PM, dflorey <[EMAIL PROTECTED]> wrote: > 1. The CssResources are very powerfull but why do I have to write > a .css file? An early draft of CssResource with only class-based selectors used Java annotations as the basis for providing the content of the rule. It turne