Oleg Tikhonov wrote:Well,
Generally speaking Eclipse based applications have a plug-in architecture, like the lego game. All plug-ins are in some container that responsible for providing services, manages them and so forth. For example, start/stop plug-in, install/uninstall etc. It's similar to "operating system" that takes care about resources, processes ... While loading Eclipse application OSGi does all its job in order to start-up application.
I think you would like to find a jar that might be as follows "org.eclipse.osgi_3.2.0.jar". Throughout its API you can achieve your goal easily.
Here is a link to the osgi javadoc.
Hi again, thanks for another reply. I understand how the concept works but I can't seem to locate a particular API besides the bundlecontext.getbundles.getheaders().getkeys() to pull back info on relations between plugins. I am not sure how the Application Manager creates relationships between the plugins and it's installed plugins/fragments. Is there any way I can just pull back a plugin in a particular bucket?
For example, here a the screenshot.
I want to pull back everything on the same level as the one selected, and not get the child elements.