Prompt for save on Workbench/Perspective closure [message #213977] |
Sat, 20 March 2004 09:22 |
Eclipse User |
|
|
|
Originally posted by: sreejaak.yahoo.com
Hi,
I have a couple of views using which user could have modified the model's
data. When the user closes my perspective or the Eclipse workbench, I
want to display a prompt asking the user if he wishes to save the data
changes made in the views. If the user cancels the prompt, I want to
retain the Eclipse enviroment as it is(Prevent all existing windows from
closing). How can I achieve this? I tried putting the save in a view's
dispose() method, but then the view window gets closed before the prompt
comes up.. Please advice..
Thanks in advance,
Sree
|
|
|
Powered by
FUDForum. Page generated in 0.02023 seconds