[gwt-contrib] Re: Widget resources

2008-12-02 Thread BobV
> Is there a plan to make Constants part of ImmutableResourceBundle? Incubator r1252 includes a new resource type called GwtCreateResource. interface GwtCreateResource extends ResourcePrototype { T create(); } interface Resources extends ImmutableResourceBundle { // messages().create() invo

[gwt-contrib] Re: Widget resources

2008-11-19 Thread dflorey
Is there a plan to make Constants part of ImmutableResourceBundle? This would be very nice as the bundle would contain all resources required by a widget and could make customization of widgets very handy. The current gen2 developers guide for widgets is only taking css resources into account: ht

[gwt-contrib] Re: Widget resources

2008-11-19 Thread dflorey
If it works it's exactly what I was looking for! Is it possible then to replace just a single message/image/css by inheriting this Resource interface? I'll try and see if it does the trick. Thanks! On 19 Nov., 16:51, John Tamplin <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 10:36 AM, dflo

[gwt-contrib] Re: Widget resources

2008-11-19 Thread John Tamplin
On Wed, Nov 19, 2008 at 10:36 AM, dflorey <[EMAIL PROTECTED]> wrote: > Is there a plan to make Constants part of ImmutableResourceBundle? > This would be very nice as the bundle would contain all resources > required by a widget and could make customization of widgets very > handy. I haven't tri

[gwt-contrib] Re: Widget resources

2008-11-19 Thread BobV
On Wed, Nov 19, 2008 at 9:32 AM, dflorey <[EMAIL PROTECTED]> wrote: > Do I have to pass Constants, ImageBundle and ImmutableResourceBundle > into a widget to achieve what I'm looking for or is there a smarter > way? My observation has been that most localized or resource-enable widgets use a comb

[gwt-contrib] Re: Widget resources

2008-11-19 Thread Emily Crutcher
What fails when you try it? On Wed, Nov 19, 2008 at 9:32 AM, dflorey <[EMAIL PROTECTED]> wrote: > > This might be a beginners question, but as I'm not able to find a good > solution, I need some help/ideas: > > When developing a complex widget you'll need > - localized constants (e.g. tooltips) >