| adding project nature Image [message #318368] |
Thu, 26 July 2007 16:01 |
Eclipse User |
|
|
|
Originally posted by: neelesh.thakur.yahoo.com
Hi
I am trying add nature image for my plugin nature. I use the extension org.eclipse.ui.ide.projectNatureImages for this. Declartation in plugin.xml does exactly as specified by Eclipse plugin documentation. Here it is
<extension
point="org.eclipse.ui.ide.projectNatureImages">
<image
icon="icons/iamge2.gif"
id="myPluginNatureImage"
natureId="myNature"/>
</extension>
But problem it is not appearing in runtime workbench when I add the nature.
Somewhere I have read that only one Image can be shown; the first nature found in a project that has an image is used. My plugin nature has one required nature which java nature.
So I can only attach add nature if its is a java nature. When the workbench is started it already have "J" as nature image on project. Now even if I try to add the nature, nature image does not appears.
I also tried that when I add my nature it will come before the java nature as I checked in .project file but even in that case to my nature does not shown only java nature is shown.
For this thing to work does it involve more settings.
Any help will be appreciated.
Thanks
Neelesh
|
|
|
Powered by
FUDForum. Page generated in 0.03973 seconds