Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Project Nature
Project Nature [message #29836] Mon, 12 May 2003 13:08 Go to next message
Eclipse UserFriend
Originally posted by: bob.donovan.sdrc.com

I am experimenting with trying to get Java Natures to work. I want a
project directory that has the "TestEnvNature" set on it, to overlay a
image on the project image. So far, all I have done is written the two
extensions below to my plugin.xml file and added an image.

It is not working at this point. I have double checked my nature id's and
they are corrent (use the plugin package name + nature name). Do I have to
do anything else? Is there some java code required to support the image
overlay?

Bob

<extension
point="org.eclipse.core.resources.natures"
id="TestEnvNature"
name="Test Environment Nature">
<runtime>
<run class="com.edsplm.tc.ent.ide.ui.TestEnvNature">
</run>
</runtime>
</extension>

<extension point="org.eclipse.ui.projectNatureImages">
<image
id="com.edsplm.tc.ent.ide.TestEnvNatureImage"
natureId="com.edsplm.tc.ent.ide.TestEnvNature"
icon="icons/java_ovr.gif">
</image>
</extension>
Re: Project Nature [message #29876 is a reply to message #29836] Tue, 13 May 2003 02:19 Go to previous message
Eclipse UserFriend
Originally posted by: bhavnad.noida.hcltech.com

u'll hav to add the project nature to the project description & for that
u'll hav to create ur own wizard class that
extends Wizard & implements INewWizard interface.


Bob Donovan wrote:

> I am experimenting with trying to get Java Natures to work. I want a
> project directory that has the "TestEnvNature" set on it, to overlay a
> image on the project image. So far, all I have done is written the two
> extensions below to my plugin.xml file and added an image.

> It is not working at this point. I have double checked my nature id's and
> they are corrent (use the plugin package name + nature name). Do I have to
> do anything else? Is there some java code required to support the image
> overlay?

> Bob

> <extension
> point="org.eclipse.core.resources.natures"
> id="TestEnvNature"
> name="Test Environment Nature">
> <runtime>
> <run class="com.edsplm.tc.ent.ide.ui.TestEnvNature">
> </run>
> </runtime>
> </extension>

> <extension point="org.eclipse.ui.projectNatureImages">
> <image
> id="com.edsplm.tc.ent.ide.TestEnvNatureImage"
> natureId="com.edsplm.tc.ent.ide.TestEnvNature"
> icon="icons/java_ovr.gif">
> </image>
> </extension>
Previous Topic:JavaEditor Example doesn't work properly,Any idea how to fix it
Next Topic:Automated Testing of GUI Functions
Goto Forum:
  


Current Time: Fri Apr 25 20:19:40 EDT 2025

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

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

Back to the top