title: Eclipse 4 application/window lifecycle
body: <p>How to hook application or window lifecycle events? At least I need to handle the moment when the application can be closed and to cancel this attempt if it is necessary.
    I didn't find the possibility to enter the URI for application or windows like URI for parts</p>