| Summary: | Duplicate Rename/Move action for IResources in Project Explorer | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Vivian Kong <vivkong> |
| Component: | RDT | Assignee: | Vivian Kong <vivkong> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ptp-inbox |
| Version: | 4.0.7 | ||
| Target Milestone: | 5.0.1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in ptp_4_1, ptp_5_0 and HEAD. |
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"/>