Is there a way to dynamically register a plugin? [message #36884] |
Mon, 02 December 2002 15:52  |
Eclipse User |
|
|
|
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 #37122 is a reply to message #37088] |
Tue, 03 December 2002 23:17  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04281 seconds