Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Difference between Actionfactory.QUIT and normal Close
Difference between Actionfactory.QUIT and normal Close [message #463755] Thu, 15 February 2007 05:43 Go to next message
Eclipse UserFriend
Originally posted by: florianwendland.freenet.de

Hello all,
I have a problem concening the closing mechanism of RCP. I have an
standalone rcp app and catch the normal closing action (via the x in
titlebar) under some circumstances.

Now I have added a ActionFactory.QUIT-Action in the ActionBarAdvisor.
But it seems, that the Quit-Action didn't take the same way as normal
closing, because it closes the app allways, without doing the code i
have specified for some circumstances.

Does nayone know more about that topic?

Thx
Florian
Re: Difference between Actionfactory.QUIT and normal Close [message #463777 is a reply to message #463755] Thu, 15 February 2007 08:45 Go to previous messageGo to next message
Eclipse UserFriend
Look for methods in WorkbenchAdvisor and WorkbenchWindowAdvisor ...
they're called when close or quit are called.

Later,
PW
Re: Difference between Actionfactory.QUIT and normal Close [message #463786 is a reply to message #463777] Thu, 15 February 2007 10:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: florianwendland.freenet.de

Hi Paul,
i've overriden the preWindowShellClose() method. That works fine, if a
user tries to clase the app via x in titlebar.
But Quit in Actionfactory.QUIT didn't care about that method.
Florian
Re: Difference between Actionfactory.QUIT and normal Close [message #463892 is a reply to message #463786] Mon, 19 February 2007 11:41 Go to previous message
Eclipse UserFriend
WorkbenchAdvisor.preShutdown()

"Florian Wendland" <florianwendland@freenet.de> wrote in message
news:er1uhu$38o$1@utils.eclipse.org...
> Hi Paul,
> i've overriden the preWindowShellClose() method. That works fine, if a
> user tries to clase the app via x in titlebar.
> But Quit in Actionfactory.QUIT didn't care about that method.
> Florian
Previous Topic:migrating presentation factory extension from 3.1 to 3.2.
Next Topic:Can't bring cut/copy/paste to work...
Goto Forum:
  


Current Time: Mon Mar 24 23:54:03 EDT 2025

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

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

Back to the top