Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with getting list of installed plugins
Problem with getting list of installed plugins [message #465260] Tue, 27 March 2007 09:48 Go to next message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
Hi,

I have a RCP product application based on one feature.

I want to get a list of all plugins that are stored in the Plugin-Folder of
my product.

I tried to use Platform.getBundleGroupProviders() and iterate over the
result. But only the plugins of the feature seem to be registered here,
not the plugins that are stored additionally in the plugin folder (e.g.
third party plugins). If I try to find the additional ones via
Platform.getBundle(String id) then I get the bundle, but not in the list
above.

How can I list ALL plugins available in the plugins folder?


Thanks!

Greetz,
Carsten
Re: Problem with getting list of installed plugins [message #465271 is a reply to message #465260] Tue, 27 March 2007 18:04 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

can you not just save your BundleContext in your activator and then use
getBundles()?

Later,
PW


Re: Problem with getting list of installed plugins [message #465276 is a reply to message #465271] Wed, 28 March 2007 05:27 Go to previous message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
Hi Paul!

Yes, this is exactly what I was looking for. Sometimes the answer can be so
near ;-)

Thank you!

Greetz,
Carsten


"Paul Webster" <pwebster@ca.ibm.com> schrieb im Newsbeitrag
news:eubmes$j98$2@utils.eclipse.org...
> can you not just save your BundleContext in your activator and then use
> getBundles()?
>
> Later,
> PW
Previous Topic:RCP + Spring + Hibernate2 = Problem
Next Topic:RCP Launch Controlling Runtime Version
Goto Forum:
  


Current Time: Wed Oct 09 18:39:45 GMT 2024

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

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

Back to the top