Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to detect if a plugin is present
How to detect if a plugin is present [message #119944] Mon, 01 September 2003 07:13 Go to next message
Eclipse UserFriend
Hi,

How can I detect if a plugin is present?
My plugin does not depend on the other plugin but I want to handle some
things in a different way if the other plugin is also installed.
(otherwise there will be some conflicts between the plugins)

Any idea?

Every hint is welcome.

TIA + regards,

Frank
Re: How to detect if a plugin is present [message #120122 is a reply to message #119944] Mon, 01 September 2003 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Platform.getPlugin("org.eclipse.jdt.ui");

HTH
Darins

"Frank Fischer" <ff@semoe.de> wrote in message
news:biv9jh$33h$1@eclipse.org...
> Hi,
>
> How can I detect if a plugin is present?
> My plugin does not depend on the other plugin but I want to handle some
> things in a different way if the other plugin is also installed.
> (otherwise there will be some conflicts between the plugins)
>
> Any idea?
>
> Every hint is welcome.
>
> TIA + regards,
>
> Frank
>
>
Re: How to detect if a plugin is present [message #120371 is a reply to message #120122] Tue, 02 September 2003 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Darin Swanson wrote:
> Platform.getPlugin("org.eclipse.jdt.ui");
>
> HTH
> Darins

THX.

Regards,

Frank
Re: How to detect if a plugin is present [message #120740 is a reply to message #120371] Tue, 02 September 2003 21:10 Go to previous message
Eclipse UserFriend
This will of course also load the plugin and initialize it.
If you just want to know if it exists, use

Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.ui ")

Chris

"Frank Fischer" <ff@semoe.de> wrote in message
news:bj1vl7$icd$1@eclipse.org...
> Darin Swanson wrote:
> > Platform.getPlugin("org.eclipse.jdt.ui");
> >
> > HTH
> > Darins
>
> THX.
>
> Regards,
>
> Frank
>
Previous Topic:Problems with <mapper type="regexp"
Next Topic:Running plugins on the platform version of Eclipse
Goto Forum:
  


Current Time: Thu May 01 22:12:25 EDT 2025

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

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

Back to the top