|IExtensionRegistry.addContribution() calls not working in E4? [message #987023]
||Thu, 22 November 2012 19:11
| Laurent Petit
Registered: December 2010
following this IBM article:
I've been able to generically programmatically add extensions to plugins in Eclipse 3.
For instance, I've been able to dynamically contribute an IViewPart by calling IExtensionRegistry.addContribution() with the relevant XML stream.
And then instantly see, in my Eclipse 3 instance, the effect of the call: seeing the IViewPart name show up in the Show View > ... menu.
But this does not seem to work in Eclipse 4.
Is this a limitation of the Eclipse 3 compatibility layer?
I'm not ready yet to support 2 different code bases for my plugin for Eclipse 3 and Eclipse 4, so I'd like to be able to get this working.
Is there some method somewhere to call to inform the Eclipse 4 machinery that it should refresh based on new content declared via the call to IExtensionRegistry.addContribution() ?
Any help appreciated,
Powered by FUDForum
. Page generated in 0.01730 seconds