|register IResourceChangeListener [message #1039704]
||Fri, 12 April 2013 13:32
| Hendrik Eeckhaut
Registered: July 2009
I have a plugin that implements a custom nature and builder. This plugin has to react on resource changes (for resources in projects with this custom nature). So I create a custom IResourceChangeListener that is registered when my plugin is started.|
This works fine when projects are created. But if Eclipse is restarted, I can miss change events because the plugin is not loaded (until a build is triggered).
What is the best way to make sure my plugin is loaded when Eclipse has a project with my custom nature? I'd prefer not to force my plugin to always be loaded, only when there is an open project with my nature.
Powered by FUDForum
. Page generated in 0.13196 seconds