Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Own Navigator and closed projects(Does closed projects have no nature?)
Own Navigator and closed projects [message #533041] Wed, 12 May 2010 05:51 Go to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
we have our own navigator view which only shows project with an nature we defined, too. Everything works fine so far. But if I close a project it will disappear in the navigator view.
It seems that closed projects have no nature (but the nature still exists in the project looking at the .project file).

I defined the navigator content via the plugin.xml file:

      			<instanceof value="xy.navigator.DiagramTreeData"/>
      			<adapt type="org.eclipse.core.resources.IProject">

What I want is that the navigator shows all projects with "MyNature", no matter if they are closed or not!?!

Thanks for any help.

Best regards

[Updated on: Wed, 12 May 2010 05:51]

Report message to a moderator

Re: Own Navigator and closed projects [message #533042 is a reply to message #533041] Wed, 12 May 2010 05:54 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
Unfortunately you can't tell very much from a closed project (because the files are simply not accessible), so there is no way to show only the closed projects with your project nature, you will either have to show all of them or none of them. I imagine there is a way to test to see if a project is closed.

Previous Topic:P2 Feature-based Product Export failing
Next Topic:Save the current status of my Views
Goto Forum:

Current Time: Fri Apr 20 05:06:10 GMT 2018

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

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