Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 206039 - [Common Navigator] Copy/Paste/... actions not visible for mixed IResource/ICElement (regression)
Summary: [Common Navigator] Copy/Paste/... actions not visible for mixed IResource/ICE...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0.2   Edit
Assignee: Anton Leherbauer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 09:54 EDT by Anton Leherbauer CLA
Modified: 2007-10-11 10:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Leherbauer CLA 2007-10-11 09:54:26 EDT
+++ This bug is a regression of Bug #170180 +++

The CDT navigator extension provides refactoring actions (copy, paste, ...). The enablement is set for ICElement (instanceof) only.

This works fine if the user selects IResource elements only, or ICElements only. If the user selects elements of both kinds (e.g. source files and text files), no refactoring actions will show up.

Setting the enablement to [IResource OR ICElement] would probably be a solution. The CDT refactoring actions would show up for both, IResource, ICElement and a mix of both. I just wonder what happens, if another extension - like JDT - tries to do the same.
Comment 1 Anton Leherbauer CLA 2007-10-11 10:07:55 EDT
Fixed in 4.0.2 and 5.0 > 20071011.