Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356248 - Duplicate Rename/Move action for IResources in Project Explorer
Summary: Duplicate Rename/Move action for IResources in Project Explorer
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 5.0.1   Edit
Assignee: Vivian Kong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 15:50 EDT by Vivian Kong CLA
Modified: 2011-08-30 16:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vivian Kong CLA 2011-08-30 15:50:06 EDT
RemoteCNavigatorRefactorActionProvider should only be enabled for ICElements or C/C++ projects

Here's the patch:

### Eclipse Workspace Patch 1.0
#P org.eclipse.ptp.rdt.ui
Index: plugin.xml
===================================================================
RCS file: /cvsroot/tools/org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.ui/plugin.xml,v
retrieving revision 1.46.2.7.2.1
diff -u -r1.46.2.7.2.1 plugin.xml
--- plugin.xml	28 Jul 2011 15:35:06 -0000	1.46.2.7.2.1
+++ plugin.xml	30 Aug 2011 19:49:46 -0000
@@ -540,8 +540,6 @@
           <enablement>
 			<or>
 				<instanceof value="org.eclipse.cdt.core.model.ICElement" />	
-				<instanceof value="org.eclipse.core.resources.IFile" />
-				<instanceof value="org.eclipse.core.resources.IFolder" />
 				<and>
 				   <instanceof value="org.eclipse.core.resources.IProject" />
 	               <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/>
Comment 1 Vivian Kong CLA 2011-08-30 16:11:09 EDT
Fixed in ptp_4_1, ptp_5_0 and HEAD.