Custom text in rename dialog

When i do rename refactoring (Shift+F6 for ex). How can i change initial content of dialog window ?
Any other way apart from impelmenting RenameHandler ?
And if i do need implement RenameHandler how can i make it be only one for my elements and prevent other rename handlers from appearing ?

2 comments
Comment actions Permalink

Hello Evgeny,

When i do rename refactoring (Shift+F6 for ex). How can i change
initial content of dialog window ?

Any other way apart from impelmenting RenameHandler ?

And if i do need implement RenameHandler how can i make it be only one
for my elements and prevent other rename handlers from appearing ?


In Diana, there's a new extension point for this called NameSuggestionProvider.
In Selena, I don't think this is really pluggable.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thnx for help !

0

Please sign in to leave a comment.