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

php - mysql multiple keyword search in any order -

unity3d - Problems porting a GLSL shadertoy shader to unity -

ios - Summing the heights of the views inside my stackview -