Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Getting the application Shell at start?
Getting the application Shell at start? [message #1008646] Wed, 13 February 2013 07:09 Go to previous message
Alex Kipling is currently offline Alex Kipling
Messages: 211
Registered: July 2012
Senior Member
I have the following problem:
when the application Shell is closed by using the close button in the upper right corner - my app data are not fully persisted.

I would like to solve it, by handling the close events of the SWT Shell.

Question:

What would be the right place to hook in for getting the application Shell?



I tried to use Lifecycle - it seems to be too early, since Shell is not available in @PostConstruct.

I registered for IEventManager UIEvents.UILifeCycle.BRINGTOTOP events - it was not triggered.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:examples of core expression with e4 ?
Next Topic:Window icons in several sizes
Goto Forum:
  


Current Time: Thu May 23 01:35:39 EDT 2013

Powered by FUDForum. Page generated in 0.01602 seconds