Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Multiple versions of an extension
Multiple versions of an extension [message #335635] Fri, 17 April 2009 08:57 Go to next message
Eclipse UserFriend
Originally posted by: spanprevention-nursubscriptions.gmail.com

Hi,

Requirement is as follows:

Plugin A defines an extension point. Plugin B provides the corresponding
extension. There are however, multiple versions of Plugin B. The
requirement is that all these versions should be available through the
extension point mechanism.

I have only been able to obtain the latest version of the plugin through
the extension point APIs ( IExtensionPoint.getExtensions(); )

Any pointers or suggestions are greatly appreciated.

TIA,
Best Regards,
- abhi
Re: Multiple versions of an extension [message #335638 is a reply to message #335635] Fri, 17 April 2009 10:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Abhi,

Plugins that contribute extensions must be singletons and while many
versions of such a plugin may exist, only the one that satisfies the
version range dependencies of the other installed plugins will be
activated while the rest will be as if they aren't there at all.


abhi wrote:
> Hi,
>
> Requirement is as follows:
>
> Plugin A defines an extension point. Plugin B provides the
> corresponding extension. There are however, multiple versions of
> Plugin B. The requirement is that all these versions should be
> available through the extension point mechanism.
> I have only been able to obtain the latest version of the plugin
> through the extension point APIs ( IExtensionPoint.getExtensions(); )
>
> Any pointers or suggestions are greatly appreciated.
>
> TIA,
> Best Regards,
> - abhi
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Multiple versions of an extension [message #335640 is a reply to message #335635] Fri, 17 April 2009 13:04 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It's as Ed mentioned, plugins that deal with the registry can only be
singletons. There is an enhancement open you can add yourself to,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108211

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Cascading build processes triggered by resource modification
Next Topic:Custom folder compare
Goto Forum:
  


Current Time: Sat Dec 21 12:09:44 GMT 2024

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

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

Back to the top