Bug 150486 - [ActionSets] Rename Action/Handler
Summary: [ActionSets] Rename Action/Handler
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P5 enhancement (vote)
Target Milestone: 3.3   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-07-13 05:48 EDT by Nenko Tabakov CLA
Modified: 2007-06-22 14:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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