Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to determine all plugins
how to determine all plugins [message #462040] Tue, 23 January 2007 07:47 Go to next message
Sven Krause is currently offline Sven KrauseFriend
Messages: 64
Registered: July 2009
Member
Hi,

we need to determine for support diagnostics to collect all installed
and activated plug-ins. How is it possible to get an list of these
plug-in descriptors? Platform.getPluginRegistry is deprecated so I
assume there is a different way designed for.

Thanks in advance
Sven
Re: how to determine all plugins [message #462127 is a reply to message #462040] Tue, 23 January 2007 13:26 Go to previous message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
`BundleContext.getBundles()` will return an array of currently installed bundles.

To check if a bundle is active, check if bundle.getState() == Bundle.ACTIVE.

Remember though that this is just a snapshot of the system at one particular instant. Depending on your requirements you may need to install a BundleListener so you know when bundles enter and leave the ACTIVE state.

Regards,
Neil
Previous Topic:Update workbench when active perspective changes
Next Topic:colors and fonts preference page
Goto Forum:
  


Current Time: Sun Sep 08 19:43:42 GMT 2024

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

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

Back to the top