laurent Goubet wrote:
Hi all,
I was wondering if there is any API to read from a given plugin.xml
and get information on the extended extension points. I cannot use the
extension registry for this since the plugin.xml I am trying to
retrieve information from is in one of the workspace's plugins, not an
installed one.
I did find PluginModel, IPluginModelBase, IPluginModel ... but all
these are either deprecated or internal. Is there no public API for
such needs? Re-writing a parser for this seems overkill to me.
How about using the PluginRegistry API from PDE:
org.eclipse.pde.core.plugin.PluginRegistry
You should eventually be able to get an IExtensions or IExtension for
your model.
Let me know if you need more help.
Cheers,
~ Chris