|Intercepting: "Close Editor + Don't Save" [message #468151]
||Tue, 04 August 2009 11:50
Originally posted by: polcwiar.mi.fu-berlin.de|
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!
Powered by FUDForum
. Page generated in 0.02459 seconds