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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -