Bodey Baker
Bodey Baker

Reputation: 306

Updating configuration when an Eclipse plugin is updated

Does IProjectNature.configure() get called when an Eclipse plugin is updated? Is there a better method that will get executed when a plugin gets updated?

This information seems to be missing from the documentation I've read. Due to the lack of a similar question on SO I'm adding this even though it's easily testable.

Upvotes: 0

Views: 13

Answers (1)

nitind
nitind

Reputation: 20003

No, it does not. If you need to know when your plug-in changes, store the version information in the plug-in's private state location and read it in, preferably not on the UI thread, when the plug-in activates. It would be good to know why you think you need to know this, since it's usually not a useful piece of information on its own.

JavaDoc

Upvotes: 1

Related Questions