Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Query target platform for a plugin id
Query target platform for a plugin id [message #593309] Tue, 17 March 2009 17:59
Steve is currently offline SteveFriend
Messages: 16
Registered: July 2009
Junior Member
I want to programmatically query the target platform to see if it contains
a plug-in with a particular id. Currently, I am doing this:

if
(PDECore.getDefault().getModelManager().findModel("org.eclipse.core.runtime ")
!= null)
System.out.println("target platform contains id");

The call to findModel() takes a long time the first time it is made when
using a new workspace. Is there another way to query the target platform
for a specific plug-in id?

Thanks,
Steve
Previous Topic:Howto Externalize String of "required plugin"?
Next Topic:how to run bash script programmatically from eclipse plugin
Goto Forum:
  


Current Time: Fri Apr 26 09:16:42 GMT 2024

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

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

Back to the top