Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » OS X: handle reopen event (user clicked dock icon)
OS X: handle reopen event (user clicked dock icon) [message #733626] Wed, 05 October 2011 08:47 Go to next message
Thomas Singer is currently offline Thomas SingerFriend
Messages: 75
Registered: July 2009
Member
SWT 3.7 adds a couple of improvements for OS X. Unfortunately, I could not find a way to handle the reopen event (which I could handle with Swing) which occurs when the user clicks the running application's dock icon. Did someone found a way to do this, e.g. by using reflection?
Re: OS X: handle reopen event (user clicked dock icon) [message #857154 is a reply to message #733626] Thu, 26 April 2012 09:35 Go to previous message
Peter Enevoldsen is currently offline Peter EnevoldsenFriend
Messages: 2
Registered: July 2009
Junior Member
Did you find a solution for this problem?

I have the current situation and I believe it is similar to your issue.

When a user clicks the red "X" to close the Shell, then the application
is kept alive. But the Main window (shell) is set to not be visible.

A click on the application icon in the Dock should set the Shell visible again.

On 2011-10-05 08:47:52 +0000, Thomas Singer said:

> SWT 3.7 adds a couple of improvements for OS X. Unfortunately, I could
> not find a way to handle the reopen event (which I could handle with
> Swing) which occurs when the user clicks the running application's dock
> icon. Did someone found a way to do this, e.g. by using reflection?
Previous Topic:Implementing Untyped Messages for unknown message types
Next Topic:XML and SWT Browser with IE
Goto Forum:
  


Current Time: Wed Sep 25 22:27:01 GMT 2024

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

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

Back to the top