Community
Participate
Working Groups
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?
There are currently no plans to work on this feature. PW
Changes requested on bug 193523
This item has been fixed/superceded by the menu contribution mechanism - bug 154130