Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Linking many extensions from an extender plug-in
Linking many extensions from an extender plug-in [message #447778] Sat, 15 April 2006 13:48 Go to next message
Eclipse UserFriend
Originally posted by: augustov.fullzero.com.ar

I'm developing an RCP app. I've a "host plug-in" an many "extender plug-ins", each one contributes with 2 extensions (a perspective and another schema-customized one). The host plug-in processes all custom extensions (using the IExtensionRegistry interface), but each contribution must be running (making some background processing) only if the persepective of its defining plug-in is active (visible). So, how can I link (relate) all extensions from a same extender plug-in?

Thanks in advance.

Augusto
Re: Linking many extensions from an extender plug-in [message #447812 is a reply to message #447778] Mon, 17 April 2006 10:43 Go to previous message
Eclipse UserFriend
?

Using IExtensionRegistry to read the extensions of your contribution
plugins allows you to walk the plugin XML. It won't active the
contribution plugin or call any plugin code. i.e. the contribution
plugin won't be doing anything.


When you use createExecutableExtension(*) to instantiate a class from a
plugin, then the contribution plugin will be activated and the code will
be called. The contribution plugin would 1) probably launch other Jobs
in it's activator start(*) method or 2) in the constructor or init of
the contribution plugin executable extension.

Later,
PW
Previous Topic:Control Coolbar Icon Placement
Next Topic:When are OSGI Bundles activated?
Goto Forum:
  


Current Time: Fri Nov 07 05:59:30 EST 2025

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

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

Back to the top