Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » adding project nature Image
adding project nature Image [message #318368] Thu, 26 July 2007 16:01
Eclipse UserFriend
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
Previous Topic:adding project nature Image
Next Topic:what is semantic of secondary-id in View with allowMultiple=true?
Goto Forum:
  


Current Time: Mon Nov 10 10:30:52 EST 2025

Powered by FUDForum. Page generated in 0.03672 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top