Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Confirm exit dialog when pressing `X` button
Confirm exit dialog when pressing `X` button [message #970739] Sun, 04 November 2012 03:52 Go to next message
Eclipse UserFriend
Hi,
I am trying to find how I can show the confirmation dialog when the user presses `X` button in the application to confirm if the user really wants to exit.
Could not find any code example for this. Just some hints about WorkbenchWindowAdvisor but have no idea how I could use this class.
Is there any example code please for this case?
Re: Confirm exit dialog when pressing `X` button [message #971948 is a reply to message #970739] Mon, 05 November 2012 03:36 Go to previous message
Eclipse UserFriend
Override the IWindowCloseHandler. See Modifying the Eclipse context for an example.
Previous Topic:Eclipse RCP update from indigo-SR2 to juno-SR1
Next Topic:How to integrate a 3.x-Plugins in an E4 workbench model
Goto Forum:
  


Current Time: Fri Jul 25 00:24:58 EDT 2025

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

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

Back to the top