Skip to main content



      Home
Home » Eclipse Projects » Technology Project and PMC » Is there a way to dynamically register a plugin?
Is there a way to dynamically register a plugin? [message #36884] Mon, 02 December 2002 15:52 Go to next message
Eclipse UserFriend
My plugin has the need to allow users to register additional plugins at
runtime. Then my plugin wants to use those new plugins without restarting.
This seems to require the ability to add (i.e., not replace, nor delete) the
new plugins to the Eclipse platform registry. From everything I can gather,
the platform plugin registry is loaded upon startup only - is it possible to
add new plugins to the registry, or is a restart of the application/platform
required?

Thanks.
Randall
Re: Is there a way to dynamically register a plugin? [message #36952 is a reply to message #36884] Tue, 03 December 2002 09:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: debbie_wilson.oti.com

You are correct in your assumptions. The plug-in registry is
created/loaded at startup only. If you want to add a new plug-in to the
registry you need to shutdown and startup again.

Deb


Randall Hauch wrote:

> My plugin has the need to allow users to register additional plugins at
> runtime. Then my plugin wants to use those new plugins without restarting.
> This seems to require the ability to add (i.e., not replace, nor delete) the
> new plugins to the Eclipse platform registry. From everything I can gather,
> the platform plugin registry is loaded upon startup only - is it possible to
> add new plugins to the registry, or is a restart of the application/platform
> required?

> Thanks.
> Randall
Re: Is there a way to dynamically register a plugin? [message #37088 is a reply to message #36952] Tue, 03 December 2002 22:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: happyz.shaw.ca

Can't you activate the plugin at run time. I remember when you I did those
sample project via wizards, eclipse would prompt me that some plugins need
to be loaded to support the functionality I am looking for. how is that
done? Can;t you go that route.

Cheers

Harry Brar
Re: Is there a way to dynamically register a plugin? [message #37122 is a reply to message #37088] Tue, 03 December 2002 23:17 Go to previous message
Eclipse UserFriend
Originally posted by: srutledg.mailhaven.nospam.com

Plugins aren't actually activated until they're needed. But they have to have existed when Eclipse was started.
The functionality that plugins provided is described in their manifest files. Only when that functionality is called on do the plugin classes themselves get loaded. Is that what you are getting at?

Scott

On Tue, 03 Dec 2002 19:50:52 -0800, Harry Brar <happyz@shaw.ca> wrote:
> Can't you activate the plugin at run time. I remember when you I did those
> sample project via wizards, eclipse would prompt me that some plugins need
> to be loaded to support the functionality I am looking for. how is that
> done? Can;t you go that route.
>
> Cheers
>
> Harry Brar
>
Re: Is there a way to dynamically register a plugin? [message #587090 is a reply to message #36884] Tue, 03 December 2002 09:27 Go to previous message
Eclipse UserFriend
Originally posted by: debbie_wilson.oti.com

You are correct in your assumptions. The plug-in registry is
created/loaded at startup only. If you want to add a new plug-in to the
registry you need to shutdown and startup again.

Deb


Randall Hauch wrote:

> My plugin has the need to allow users to register additional plugins at
> runtime. Then my plugin wants to use those new plugins without restarting.
> This seems to require the ability to add (i.e., not replace, nor delete) the
> new plugins to the Eclipse platform registry. From everything I can gather,
> the platform plugin registry is loaded upon startup only - is it possible to
> add new plugins to the registry, or is a restart of the application/platform
> required?

> Thanks.
> Randall
Re: Is there a way to dynamically register a plugin? [message #587124 is a reply to message #36952] Tue, 03 December 2002 22:50 Go to previous message
Eclipse UserFriend
Originally posted by: happyz.shaw.ca

Can't you activate the plugin at run time. I remember when you I did those
sample project via wizards, eclipse would prompt me that some plugins need
to be loaded to support the functionality I am looking for. how is that
done? Can;t you go that route.

Cheers

Harry Brar
Re: Is there a way to dynamically register a plugin? [message #587127 is a reply to message #37088] Tue, 03 December 2002 23:17 Go to previous message
Eclipse UserFriend
Plugins aren't actually activated until they're needed. But they have to have existed when Eclipse was started.
The functionality that plugins provided is described in their manifest files. Only when that functionality is called on do the plugin classes themselves get loaded. Is that what you are getting at?

Scott

On Tue, 03 Dec 2002 19:50:52 -0800, Harry Brar <happyz@shaw.ca> wrote:
> Can't you activate the plugin at run time. I remember when you I did those
> sample project via wizards, eclipse would prompt me that some plugins need
> to be loaded to support the functionality I am looking for. how is that
> done? Can;t you go that route.
>
> Cheers
>
> Harry Brar
>
Previous Topic:Eclipse as background for app
Next Topic:Anyone tested Eclipse on KDE 3.1 ?
Goto Forum:
  


Current Time: Fri May 09 18:20:35 EDT 2025

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

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

Back to the top