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.