How to change plugin.xml programmatically? [message #33576] |
Mon, 17 November 2008 15:36 |
Eclipse User |
|
|
|
Originally posted by: news2008.torsten-keil.net
I wan't to provide a function (wizard or editor) to add activities
(extensions) into the plugin.xml of a certain workspace project.
With
PluginRegistry.getWorkspaceModels(); and PluginRegistry.getexternalModels();
i can get the plugin models and read the extensions defined. So i'm able
to get all view IDs for example. But how can i add a new activity for
it? The models loaded via PluginRegistry are read-only and most of the
classes within PDE are internal.
Is there a way to add new extensions programmatically? I didn't really
want to go the XML way and parse/write the plugin.xml file if there
would be an easier solution to achieve this by already existing API.
Or is it possible to extend the manifest editor to add such a function?
Thanks in advance,
Torsten
|
|
|
|
Re: How to change plugin.xml programmatically? [message #33961 is a reply to message #33915] |
Thu, 20 November 2008 10:49 |
Eclipse User |
|
|
|
Originally posted by: news2008.torsten-keil.net
Danail Nachev schrieb:
> Have a look at com.prosyst.eclipse.cdeditor.text.PDETextModelHelper
> class inside PDE.
Could you point me where to find this class? I can't find it within PDE
and it seems not to be an official eclipse package.
Thanks,
Torsten
|
|
|
|
|
Re: How to change plugin.xml programmatically? [message #585633 is a reply to message #33915] |
Thu, 20 November 2008 10:49 |
Eclipse User |
|
|
|
Originally posted by: news2008.torsten-keil.net
Danail Nachev schrieb:
> Have a look at com.prosyst.eclipse.cdeditor.text.PDETextModelHelper
> class inside PDE.
Could you point me where to find this class? I can't find it within PDE
and it seems not to be an official eclipse package.
Thanks,
Torsten
|
|
|
|
Powered by
FUDForum. Page generated in 0.03662 seconds