Eclipse: Notification on open/closure/deletion of resource in package explorer

411 Views Asked by At

I am looking for some kind of notification event that my plugin can react on if a project in the eclipse workspace is closed/opened/deleted (in the package-explorer view or in general would be nice too)

I am not sure what to look for, I googled some time without finding anything of use? How do I get such a notification?

1

There are 1 best solutions below

2
On BEST ANSWER

Use a IResourceChangeListener as described in the documentation to look for the PRE_CLOSE event.