Re: Is it posssible to catch eWorkbench CLOSE event? [message #1040] |
Tue, 26 May 2009 16:10 |
Danail Nachev 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
>
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03258 seconds