|Re: Identify when Eclipse is closed [message #714234 is a reply to message #713976]
||Wed, 10 August 2011 06:18
Originally posted by: |
On 2011-08-09 16:02, MarcoGT wrote:
> And how can I register the listener?
Well, the documentation of IWorkbenchListener refers to
IWorkbench#addWorkbenchListener,so you need an instance of IWorkbench to
register, right? If you check the interface documentation of IWorkbench,
you are delegated to org.eclipse.ui.PlatformUI#getWorkbench, so here you
could go. I strongly recommend to study the (very short) interface
documentation of the related types, which usually give you the right answer.
HTH & Greetings from Bremen,
- Daniel Krügler
Powered by FUDForum
. Page generated in 0.03322 seconds