There is no easy way to do this, Reflection is not supported in GWT. The only thing "GWT'ish" I can think of is wrapping the ImageBundle in some Interface makes a Map<String, AbstractImagePrototype> from a GWT "Generator"
Thats a bit too much trouble for a few ImageBundles, so I just created class with a Map of<String, AbstractImagePrototypeFactory> that creates the AbstractImagePrototype lazily(via a factory), and optionally caches the results. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
