HowTo reference images/icons in e4 [message #647142] |
Tue, 04 January 2011 13:11  |
Eclipse User |
|
|
|
Hello,
I am seeking help as to reference icons/images in my e4 project.
Here are my scenarios:
1. The image is in the same package as the xwt file
In this case my xwt code would be:
<Button text="Icon in the same package as xwt file" image="demo.gif"/>
2. Image is in a different package from the xwt file:
In this case I have attempted to use the URI:
image="platform:/plugin/plugin-name/package-containing-icon/iconname.gif"
This does not work
I am just thinking that using this would means the plugin would have to be executed. B
ut suppose I am creating a small stand-alone XWT application - no plugin would be involved here and this URI does not work
3. Image is in icons directory on the root of the plugin
This is where I would like to keep my images/icons, but I do not know how to reference this folder.
I would appreciate any pointers I can get.
Thanks
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06575 seconds