Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Trigger dispose of wizard when browser refreshes
Trigger dispose of wizard when browser refreshes [message #1722976] Wed, 10 February 2016 10:51 Go to next message
Eclipse UserFriend
Hi,

is there a way to trigger dispose() method of org.eclipse.jface.wizard when the browser is unexpectedly refreshed or closed, like Editor does?

Thanks in advance
Philippe
Re: Trigger dispose of wizard when browser refreshes [message #1723809 is a reply to message #1722976] Thu, 18 February 2016 03:22 Go to previous message
Eclipse UserFriend
Hi,
usually in most modern browsers, the UI session is terminated
immediately, when the browser is closed/reloaded. The UI session
termination triggers the disposal of the Display, which will dispose all
other widgets (including Dialogs and Wizards). Why do you need to call
the dispose code manually? If you really need to do it, use
RWT.getUISession().addUISessionListener(UISessionListener) to add a
listener, which will be notified just before the UI session is terminated.
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Cross domain access from Eclipse with IIS Web Server
Next Topic:Compiling RWT from source
Goto Forum:
  


Current Time: Fri Jul 11 23:00:38 EDT 2025

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

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

Back to the top