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

Bug 150486

Summary: [ActionSets] Rename Action/Handler
Product: [Eclipse Project] Platform Reporter: Nenko Tabakov <ZO_tkd>
Component: UIAssignee: Paul Webster <pwebster>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5 Keywords: helpwanted
Version: 3.2   
Target Milestone: 3.3   
Hardware: PC   
OS: All   
Whiteboard:

Description Nenko Tabakov CLA 2006-07-13 05:48:35 EDT
Ok... Two days ago I got a task to override the behavior of Rename in a certain View, called ConfigurationView. The ConfigurationView is an extension of org.eclipse.ui.navigator.viewer. As a navigatorContent this view includes org.eclipse.ui.navigator.resourceContent. In that navigationContent exist RefactorActionProvider with Move, Delete and Rename Actions, which are part of RefactorActionGroup. To override the behavior of Rename I made my actionProvider where I added MyRenameAction and then added a menu listener where I remove the default RenameAction (the one from RefactorActionProvider). I acted this way because the RefactorActionProvider starts after my actionProvider and sets new globalHandlers (mine aren't used anymore). This seems little messy to me...Why doesn't exist a more convenient way to overide RefactorActions in such views?
Comment 1 Paul Webster CLA 2006-09-28 11:01:49 EDT
There are currently no plans to work on this feature.

PW
Comment 2 Denis Roy CLA 2007-06-22 09:33:29 EDT
Changes requested on bug 193523
Comment 3 Paul Webster CLA 2007-06-22 14:40:07 EDT
This item has been fixed/superceded by the menu contribution mechanism - bug
154130