Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » WorkbenchAdvisor.preShutdown
WorkbenchAdvisor.preShutdown [message #461958] Thu, 18 January 2007 19:10 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
It seems on windows if I exit the RCP app by hitting the red "X" a different
path is followed for the application exist than if I use a regsistered
ActionFactory.QUIT.create(window); action? Why are they different , how do I
hook the red "X" on application shutdown?
Re: WorkbenchAdvisor.preShutdown [message #461999 is a reply to message #461958] Sun, 21 January 2007 02:27 Go to previous message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
Drew,

You can use the WorkbenchWindowAdvisor.preWindowShellClose() method in
order to hook the red "X" on shutdown.

Snjeza

Drew Frantz wrote:
> It seems on windows if I exit the RCP app by hitting the red "X" a different
> path is followed for the application exist than if I use a regsistered
> ActionFactory.QUIT.create(window); action? Why are they different , how do I
> hook the red "X" on application shutdown?
>
>
>
Previous Topic:lo4j properties with RCP and Spring
Next Topic:Cheat sheets and universal welcome
Goto Forum:
  


Current Time: Sun Oct 06 10:33:55 GMT 2024

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

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

Back to the top