It depends what you want to achieve.

Generated CSS class names for a CssResource are based on the interface and 
method names. @Import allows you to use a class name defined elsewhere, and 
it will "just work" because the gwt-CellTable-XXX class name can be known at 
compile-time just based on the corresponding method, without having to 
actually generate the CellTable.Style resource.

This is also the reason why you have to actually create an interface that 
extends CellTable.Style if you want to have different styles in your app. 
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6144

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to