Replacement for IPluginDescriptor [message #1822236] |
Mon, 02 March 2020 04:23  |
Eclipse User |
|
|
|
We have eclipse plugin application build on eclipse version 4.3 which used IPluginDescriptor. Now, we want to build the same application on latest eclipse version i.e. eclipse 2019-12. While doing so we are facing issues with deprecated interface for example IPluginDescriptor.
As found from eclipse forums IPluginDescriptor was only supported by by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. But this is not used anymore as eclipse 4.6 removed it.
What is replacement for "org.eclipse.core.runtime.compatibility" or "IPluginDescriptor" in latest eclipse version 2019-12.
Below is the code that we need to modify which requires replacement of IPluginDescriptor :
IPluginDescriptor pluginDescriptor =
getRootElement().getDeclaringExtension().getDeclaringPluginDescriptor();
return pluginDescriptor.getPlugin();
Looking for your response.
Regards
Priya
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09732 seconds