|
Re: Trigger dispose of wizard when browser refreshes [message #1723809 is a reply to message #1722976] |
Thu, 18 February 2016 03:22  |
Eclipse User |
|
|
|
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/
|
|
|
Powered by
FUDForum. Page generated in 0.04030 seconds