You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select your plug-in with the extension point(s) you want to access the extensions for.
Go to "New" -> "Other..." -> "Extension Resolver"
Follow the wizard's instructions
The extension resolver code will be generated into the source folder you've specified.
Using the Extension Resolver API
Let's assume you have a user manager plug-in.
You've created an extension point to contribute exporters that export users to some target. Each exporter has a name, a description and can define several targets.
ExtGen creates a resolver class by the name of <name of the extension point>Resolver - in this case ExportersExtensionResolver.
It also creates an accessor class for every node in your extension point - e.g. Exporter, WorkspaceTarget, ...
The resolver code created could be used like this: