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 -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -