Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Running within the classloader context of a different plugin
Running within the classloader context of a different plugin [message #78485] Thu, 19 June 2003 12:32 Go to next message
Eclipse UserFriend
Originally posted by: myles_jeffery.hotmail.com

Hi,

I have the situation where plugin A provides some core utility classes and
where plugin B makes use of these core utility classes. However, I want
plugin A to call functions on classes within plugin B but plugin A will not
have a dependency on plugin B.

I know that Eclipse uses this pattern a lot, such as a client plugin
registering a view with the Workbench UI plugin which the Workbench then
calls function on.

What is the standard procedure for performing this? Does
Thread.setContextClassLoader () have something to do with it or is there
another method?

Thanks,

Myles
Re: Running within the classloader context of a different plugin [message #78600 is a reply to message #78485] Thu, 19 June 2003 14:34 Go to previous message
Eclipse UserFriend
Originally posted by: myles_jeffery.hotmail.com

On further investigation I think I have cracked this one.
PluginDescriptor.createExecutableExtension is what I needed!!!


"Myles Jeffery" <myles_jeffery@hotmail.com> wrote in message
news:bcsoo9$4mv$1@rogue.oti.com...
> Hi,
>
> I have the situation where plugin A provides some core utility classes and
> where plugin B makes use of these core utility classes. However, I want
> plugin A to call functions on classes within plugin B but plugin A will
not
> have a dependency on plugin B.
>
> I know that Eclipse uses this pattern a lot, such as a client plugin
> registering a view with the Workbench UI plugin which the Workbench then
> calls function on.
>
> What is the standard procedure for performing this? Does
> Thread.setContextClassLoader () have something to do with it or is there
> another method?
>
> Thanks,
>
> Myles
>
>
Previous Topic:Major Problem with IResourceChangeListener and Import
Next Topic:Why newsgroups?
Goto Forum:
  


Current Time: Fri Jul 18 07:34:35 EDT 2025

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

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

Back to the top