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: polcwiar.mi.fu-berlin.de

Hello,

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!

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


Current Time: Thu Mar 28 18:03:50 GMT 2024

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

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

Back to the top