[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.pdt] Re: Reading info from plugin.xml
|
- From: Chris Aniszczyk <zx@xxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Feb 2009 16:46:55 -0600
- Newsgroups: eclipse.tools.pdt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
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