Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Substitute for getDeclaringPluginDescriptor(), which is deprecated.


Hi,

I had the following code:

IConfigurationElement configElem = ....
                       
try {
        String pluginPath = Platform.resolve(configElem.getDeclaringExtension().getDeclaringPluginDescriptor().getInstallURL()).getPath();
        ....
}

getDeclaringPluginDescriptor() on IExtension is deprecated, and
getInstallURL() on IPluginDescriptor is deprecated.

What is the alternate way to do what I am doing?

Thanks in advance,

Rajeev
                               

Back to the top