Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse: How is it catching the windows shutdowm messages so well?
Eclipse: How is it catching the windows shutdowm messages so well? [message #93347] Mon, 14 July 2003 14:22 Go to next message
Eclipse UserFriend
Hello all, I've been (unsuccessfully) poking around the Eclipse source to
find where it is handling the shutdown messages from Windows. I'm looking
because an SWT application we've written is only doing the
Runtime.getRuntime.addShutdownHook() call, and that's just not reliably
being called for Windows shutdown.
Eclipse on the other hand doesn't let windows shut down without prompting
the user to save dirty files.
Does anyone know where this code lurks inside Eclipse?

Thanks

-James Kebinger
Re: Eclipse: How is it catching the windows shutdowm messages so well? [message #93864 is a reply to message #93347] Tue, 15 July 2003 09:00 Go to previous message
Eclipse UserFriend
Found the answer in bug 13622. The undocumented SWT.Close event.


"James Kebinger" <kebinger@us.ibm.com> wrote in message
news:beusc2$hq5$1@eclipse.org...
> Hello all, I've been (unsuccessfully) poking around the Eclipse source to
> find where it is handling the shutdown messages from Windows. I'm looking
> because an SWT application we've written is only doing the
> Runtime.getRuntime.addShutdownHook() call, and that's just not reliably
> being called for Windows shutdown.
> Eclipse on the other hand doesn't let windows shut down without prompting
> the user to save dirty files.
> Does anyone know where this code lurks inside Eclipse?
>
> Thanks
>
> -James Kebinger
>
>
Previous Topic:How to get classpath?
Next Topic:Adding interactive console
Goto Forum:
  


Current Time: Fri Apr 25 18:02:49 EDT 2025

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

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

Back to the top