Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » When does the plugin actually get activated
When does the plugin actually get activated [message #309544] Mon, 30 October 2006 15:11 Go to next message
Eclipse UserFriend
I have a plugin that does not seem to be activated even when enclosed
classes have been loaded and instantiated. I thought that if a class
from the plugin were loaded and instantiated, then the plugin/bundle
must be activated. But this seems clearly *not* to be the case. I run
into this when I ask the platform adapter manager to adapt an object.
It won't load the adapter factory because the plugin/bundle is not yet
active, even though the object I am trying to adapt is from the same
plugin/bundle. Is there something that needs to be set for the
plugin/bundle to activate when its classes are loaded/instantiated?

Thanks,
Keith
Re: When does the plugin actually get activated [message #309546 is a reply to message #309544] Mon, 30 October 2006 17:28 Go to previous message
Eclipse UserFriend
If you add the header "Eclipse-LazyStart: true" to your manifest, then
your bundle will get activated when a class is loaded from it.

-Andrew
Keith McQueen wrote:
> I have a plugin that does not seem to be activated even when enclosed
> classes have been loaded and instantiated. I thought that if a class
> from the plugin were loaded and instantiated, then the plugin/bundle
> must be activated. But this seems clearly *not* to be the case. I run
> into this when I ask the platform adapter manager to adapt an object. It
> won't load the adapter factory because the plugin/bundle is not yet
> active, even though the object I am trying to adapt is from the same
> plugin/bundle. Is there something that needs to be set for the
> plugin/bundle to activate when its classes are loaded/instantiated?
>
> Thanks,
> Keith
Previous Topic:Open View NOT Editor
Next Topic:"Wizard Closing"
Goto Forum:
  


Current Time: Sat May 03 13:25:42 EDT 2025

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

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

Back to the top