Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:51 Go to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
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 08:22 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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: Tue Mar 19 04:08:25 GMT 2024

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

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

Back to the top