Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 9462

Summary: Project properties not filtered by nature
Product: [Eclipse Project] Platform Reporter: James Moody <James_Moody>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P1 CC: jean-michel_lemieux, Kevin_McGuire
Version: 1.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description James Moody CLA 2002-02-12 10:39:21 EST
(I may have previously entered this, but I couldn't find it).
Enable the team plug-ins.
Right-click on any Java project in the Packages view->Properties.
The CVS page appears; of course, it fails if you select it.

The page is contributed to IProjects, adaptable=true, filtered on project 
nature, but for some reason it seems to be appearing on EVERY project in the 
packages view, regardless of whether the project has the specified nature. The 
navigator view works correctly.

<page name="%CVS" id="org.eclipse.team.ccvs.ui.propertyPages.CVSPropertiesPage"
	objectClass="org.eclipse.core.resources.IProject"
	class="org.eclipse.team.internal.ccvs.ui.CVSPropertiesPage" 
adaptable="true">
	<filter name="projectNature" 
value="org.eclipse.team.cvs.core.cvsnature"/> 
</page>
Comment 1 Erich Gamma CLA 2002-02-12 13:22:16 EST
Verified that the packages view adapts IJavaProject properly to IProject 
(otherwise the VCM actions would not show up).
The rest of the object contribution mechanism is in platform UI. 
Comment 2 James Moody CLA 2002-04-15 16:24:44 EDT
*** Bug 9139 has been marked as a duplicate of this bug. ***
Comment 3 Kevin Haaland CLA 2002-05-01 16:35:29 EDT
Duplicate - of a defect that was fixed a while ago. 
Comment 4 James Moody CLA 2002-05-01 16:46:13 EDT
Reopening. Not fixed in latest integration build.
Create a java project.
Packages view.
Right-click. Properties.
CVS page is there - it should not be.
Comment 5 Kevin Haaland CLA 2002-05-01 17:24:08 EDT
Hmm, the behavior between the packages and navigator view are different. The 
project. 
Comment 6 James Moody CLA 2002-05-01 18:42:03 EDT
Exactly. This is about the adaptability of IJavaProject to IProject not affecting property pages for which projectNature is set.
Comment 7 Tod Creasey CLA 2002-05-15 09:01:40 EDT
Duplicate of PR 7840. Fixed in 20020508

*** This bug has been marked as a duplicate of 7840 ***