|
|
Re: GetPlugin from TargetPlatform [message #922989 is a reply to message #913049] |
Tue, 25 September 2012 14:16 |
Stefan Weiser Messages: 55 Registered: February 2012 |
Member |
|
|
Thx for that help!
I've found the Plugins of the TargetPlatform by using
PluginRegistry.getExternalModels();
I've seen the possibility to handle plugins via the org.osgi.framework.Bundle, but I don't find any object, which delivers a Bundle-Object of the given Target-Platform. Using
Platform.getBundle(String symbolicName)
doesn't deliver bundles of the TargetPlatform. And using
PluginRegistry.getExternalModels()[i].getBundleDescription().getBundle()
doesn't deliver anything, only Null.
Is it the only way to call the file by creating an InputStream and creating a temporary java.io.File?
[Updated on: Tue, 25 September 2012 14:24] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04018 seconds