Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Re: Is it posssible to catch eWorkbench CLOSE event?
Re: Is it posssible to catch eWorkbench CLOSE event? [message #562950] Tue, 26 May 2009 16:10
Danail Nachev is currently offline Danail NachevFriend
Messages: 110
Registered: July 2009
Senior Member
Usually it is better to state what you are trying to accomplish instead of
asking how to accomplish something concrete, because the concrete thing you want
to do might not be possible, but there might be other solutions to your problem,
which are more suitable. The other problem is that I can suggest a way to do
this, but it serves no purpose to you, because you want different event. Let me
suggest some:

1) shell close event
2) menu item listener (if you are able to get access to the menu, through the shell)
3) using org.eclipse.ui.IWindowListener you will be notified when
IWorkbenchWindows are closed

There might be other ways, which I'm not aware currently of. But the best
solution to your problem you can get if you describe what you are trying to
accomplish.

P.S.
eRCP newsgroup has moved to eclipse.ercp. I'm copying this thread over.

Arunagiri.K wrote:
> Dear All,
> Is it possible to catch the workbench's close event (Exit menu item's
> event on the workbench menu)? If yes, how?
>
> Thanks.
>
> -arun
>
>
>
Previous Topic:Question regarding build process
Next Topic:export jars with referenced jars
Goto Forum:
  


Current Time: Fri Apr 26 00:04:06 GMT 2024

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

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

Back to the top