|Re: How close rcp app without saving dirty editors. [message #456128 is a reply to message #456116]
||Fri, 13 October 2006 09:57
Originally posted by: tom.seidel.spiritlink.de|
Bartek S. wrote:
> Hi everyone.
> I post that question on eclipse.newcomer but noone can help me, so i'm
> asking here:
> I'm detecting idle time. When idle time is greater than 15min, i'd like to
> close my app, and that is the question:
> how to close app without "Save resources" dialog when editors are dirty?
> All editors should close without saving.
> PS. I guess that System.exit() isn't good idea ;)
Iterate through the editor-references with
IWorkbenchBenchPage#getEditorReferences() to get a reference to an
editor and close the editor
Powered by FUDForum
. Page generated in 0.02189 seconds