|Howto get defining Bundle from an Addon in Fragment? [message #1011570]
||Tue, 19 February 2013 20:30
| Alex Kipling
Registered: July 2012
I have a Fragment.|
There is an Addon in it.
Further there is an Exension implemented in the same Bundle.
I would like to get the Exensions from the Addon.
There is a way to get the Extensions by Bundle:
IContributor c = ContributorFactoryOSGi.createContributor(bundle);
IExtensionPoint extp = Platform.getExtensionRegistry().getExtensionPoints(c);
Unfortunately, when I am trying to get the Bundle from the Addon - I am getting the Bundle, which the Addon is merged into (Addon is in a Fragment).
Bundle b = FrameworkUtil.getBundle(this.getClass()); //parent Bundle
Is it possible to get the Bundle, in which I defined the Addon and my Extensions?
Powered by FUDForum
. Page generated in 0.02003 seconds