[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Reading info from plugin.xml

Thanks Chris, this seems to be exactly what I was searching for. I didn't find the actual entry point to all of this API :).

A little off subject but since I see this I might also get the info : does this provide a way to get a default class loader for the plugins of the workspace without launching a second runtime? Could be awesome to test classes currently in development (might prove a little error-prone but ... :)).

Laurent Goubet
Obeo

Chris Aniszczyk a écrit :
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

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/";>Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard