|
|
|
|
|
|
Re: Replacement for IPluginDescriptor [message #1822689 is a reply to message #1822686] |
Wed, 11 March 2020 13:21 |
|
It would be better to understand what you needed the object for, otherwise it's not clear what the answer should be.
For example, to get the plug-in ID, you can call IExtension#getContributor() and then just ask the IContributor its name. I don't know if that's what you actually needed from the Plugin or descriptor object, though.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Re: Replacement for IPluginDescriptor [message #1823014 is a reply to message #1822689] |
Wed, 18 March 2020 07:35 |
Priya Kumari Messages: 7 Registered: March 2020 |
Junior Member |
|
|
Thanks for the suggestion. Currently it has resolved my one of compilation issue.
Another suggestion which I could need is replacement for getPluginRegistry() in below line of code or way to get appropriate value :
System.setProperty("javax.net.ssl.trustStore", Platform.getPluginRegistry().getPluginDescriptor("com.abc.xyz").find(new Path("wb-server.jks")).getPath());
I tried to use getExtensionRegistry() in place of getPluginRegistry() but could not find appropriate method which will return a String which is required for System.setProperty.
Can you provide a way to handle this?
[Updated on: Wed, 18 March 2020 13:44] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.09492 seconds