Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Eclipse(e4)RCP(How Can i display a confirmation popup before closing a eclipse(e4)rcp application)
icon5.gif  Eclipse(e4)RCP [message #1667997] Thu, 12 March 2015 05:26 Go to next message
Eclipse UserFriend
How Can i display a confirmation popup before closing a eclipse(e4)rcp application
Re: Eclipse(e4)RCP [message #1669304 is a reply to message #1667997] Thu, 12 March 2015 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vishal,

I must say that initially I had no clue how to answer to your question, but I decided to do some reading. I managed to find this post and successfully implemented a pop-up dialog.
http://stackoverflow.com/questions/22173143/how-to-implement-iwindowclosehandler-in-eclipse-e4-rcp

There is one drawback. This is a window handler, so if you have multiple windows in your application, the above approach may not be the best solution.

Cheers,
Mateusz
Re: Eclipse(e4)RCP [message #1669399 is a reply to message #1669304] Thu, 12 March 2015 18:08 Go to previous message
Eclipse UserFriend
In my translation example on GitHub I implemented something that is also able to handle multiple windows that are created at runtime:

https://github.com/fipro78/e4translationexample/blob/master/org.fipro.e4.translation/src/org/fipro/e4/translation/WindowCloseListenerAddon.java
Previous Topic:UILifeCycle.APP_STARTUP_COMPLETE not called when running as JUnit Plug-in Test (Luna)
Next Topic:Issues faced on kepler.
Goto Forum:
  


Current Time: Sun Jul 06 15:58:05 EDT 2025

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

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

Back to the top