Skip to main content



      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 01:51 Go to next message
Eclipse UserFriend
Hello,
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:

<filterExpression>
      	<not>
      		<or>
      			<instanceof value="xy.navigator.DiagramTreeData"/>
      			<adapt type="org.eclipse.core.resources.IProject">
	            	<test
	                  forcePluginActivation="true"
	                  property="org.eclipse.core.resources.projectNature"
	                  value="xy.MyNature">
           	 		</test>
         		</adapt>
      		</or>
      	</not>
      </filterExpression>



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
Alex

[Updated on: Wed, 12 May 2010 01:51] by Moderator

Re: Own Navigator and closed projects [message #533042 is a reply to message #533041] Wed, 12 May 2010 01:54 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 10:16:18 EDT 2025

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

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

Back to the top