Preventing the renaming of a resource (not renamed via refactoring actions) [message #333016] |
Wed, 19 November 2008 10:34 |
Eclipse User |
|
|
|
Hello,
If I create a file named foo.bar (no known editor for the type ".bar", will default to open it with the default text editor), open it and make a change, then if I try to rename it, I'm either asked to
save my changes first (when I try the refactor>rename contextual menu item), either asked nothing (when I try to rename from a simple navigator view), *but* then the renaming fails with an error
message.
Question : I have a custom editor (not text based, not java resource related), and would like to do this same behaviour for the files edited with this custom editor.
How to do this ?
Thanks in advance,
--
Laurent
|
|
|
Powered by
FUDForum. Page generated in 0.07016 seconds