Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Intercepting: "Close Editor + Don't Save"
Intercepting: "Close Editor + Don't Save" [message #468151] Tue, 04 August 2009 07:50
Eclipse User
Originally posted by:


do You know any way to intercept the situation, when you close an dirty
editor and choose not to save the file.

My first ideas were similar to advices from the topic "Confirm view
closing" of Felix Dorner (e.g. ISaveablePart2.promptToSaveOnClose()).
But this solution can have some design disadvantages.

Another Idea was to listen on FileBuffer for changes
(IFileBufferListener). But it did not porvided the needed funcionality.

Do You have any other Ideas?

Thanks in advance!

Previous Topic:Eclipse custom configuration file
Next Topic:Undo / Redo limit operation on each Editor/View
Goto Forum:

Current Time: Thu Aug 28 19:16:48 EDT 2014

Powered by FUDForum. Page generated in 0.01685 seconds