com.google.gwt.resources.client.ClientBundleinstead of ImageBundle
- the return types will need to change to
com.google.gwt.resources.client.ImageResourcefor each of the image methods.
Instead of using the interface directly (after being runtime binded with
GWT.create()), you will need to convert the
AbstractImagePrototype. This can be done by calling the
The thing that is unfortunate about this, is all my
setIcon()calls simply referred to a singleton instance of the images. Now they all need to convert to via the
create()call. Hopefully I can work out a nicer solution for the future.
The article that helped guide me in this came from the google wiki: ImageResource