Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Preventing the renaming of a resource (not renamed via refactoring actions)
Preventing the renaming of a resource (not renamed via refactoring actions) [message #333016] Wed, 19 November 2008 15:34
Laurent Petit is currently offline Laurent PetitFriend
Messages: 35
Registered: July 2009
Member
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
Previous Topic:How to decorate an image?
Next Topic:package explorer
Goto Forum:
  


Current Time: Sat Apr 27 04:03:35 GMT 2024

Powered by FUDForum. Page generated in 0.02615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top