Skip to main content

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 11:50
Eclipse UserFriend
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: Tue Jun 19 01:26:16 GMT 2018

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

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

Back to the top