Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to change plugin.xml programmatically?
How to change plugin.xml programmatically? [message #585471] Mon, 17 November 2008 15:36
Eclipse UserFriend
Originally posted by:

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,
Previous Topic:Test framework doesn't create XML reports, how to?
Next Topic:PDE build support for pack 200
Goto Forum:

Current Time: Fri Sep 24 18:51:59 GMT 2021

Powered by FUDForum. Page generated in 0.01694 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top