Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » catching workbench window close event
catching workbench window close event [message #466684] Fri, 13 January 2006 08:02 Go to next message
Eclipse User
Originally posted by: claire.reynaud.trango-systems.com

Hi all,

I'm developping an eclipse platform plugin and I need to catch the
workbench window close event before the view elements are disposed, to
display a custom dialog.

I found some related threads in the archives which advise to use :

org.eclipse.ui.application.WorkbenchAdvisor#preWindowShellCl ose(org.eclipse.
ui.application.IWorkbenchWindowConfigurer)

But I don't know how I can retrieve the WorkbenchAdvisor

Regards,

Claire
Re: catching workbench window close event [message #466690 is a reply to message #466684] Fri, 13 January 2006 09:42 Go to previous message
Veronika Irvine is currently offline Veronika Irvine
Messages: 1272
Registered: July 2009
Senior Member
You should ask this question about the workbench framework in the
eclipse.platform newsgroup.


"claire reynaud" <claire.reynaud@trango-systems.com> wrote in message
news:dq88g8$tu0$1@utils.eclipse.org...
> Hi all,
>
> I'm developping an eclipse platform plugin and I need to catch the
> workbench window close event before the view elements are disposed, to
> display a custom dialog.
>
> I found some related threads in the archives which advise to use :
>
> org.eclipse.ui.application.WorkbenchAdvisor#preWindowShellCl ose(org.eclipse.
> ui.application.IWorkbenchWindowConfigurer)
>
> But I don't know how I can retrieve the WorkbenchAdvisor
>
> Regards,
>
> Claire
Previous Topic:Import SWT as Existing project into Workspace
Next Topic:SWT Tree
Goto Forum:
  


Current Time: Fri Aug 22 23:38:14 EDT 2014

Powered by FUDForum. Page generated in 0.01604 seconds