eclipse - Get human readable name of extension point contributor -


how can human readable name iconfigurationelement? i've found out can use lement.getdeclaringextension().getdeclaringplugindescriptor().getlabel() last 2 methods marked deprecated. there alternative?

to name of declaring plugin (the bundle-name in manifest.mf) use:

iconfigurationelement element = ...  string contributorname = element.getcontributor().getname();  bundle bundle = platform.getbundle(contributorname);  string bundlename = bundle.getheaders().get("bundle-name"); 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -