Skip to main content


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 13:02 Go to next message
Eclipse UserFriend
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 14:42 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
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: Mon Dec 09 10:21:33 GMT 2024

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

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

Back to the top