|How to change plugin.xml programmatically? [message #33576]
||Mon, 17 November 2008 15:36
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.
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,
Powered by FUDForum
. Page generated in 0.02081 seconds