|
Re: Plugin - some resource images won't load? [message #1705610 is a reply to message #1705393] |
Mon, 17 August 2015 19:19 |
Erika Redmark Messages: 22 Registered: January 2013 |
Junior Member |
|
|
I've had image loading issues before, but from icons defined in extension points, not directly via code.
I assume all the images are of the same filetype? You said that the red boxes appear only in one window, so if you change that window to try to show another image, one that you know is loading, do you still get a red box? Is that window defined by a class in a different package than the others that are working?
The issues I had involved the plugin id not being a prefix of the extension point id, which caused some (apparently undocumented) bundle load issues to occur. So, a plugin id of com.company.moose and an extension point declaring a command of id com.company.somethingelse would not load any icons. (This is with Eclipse 3.x). I don't think this is exactly your problem though.
If those aren't it, thankfully you are in code and not dealing with an extension point issue, so the only other thing I could think of would be to step debug into the actual image loading function and see where it fails.
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds