I have such extension element in my plugin.xml
how to get the name attribute of extension element ? I saw that IExtension interface does not provide a method to get name or get attribute.
<extension id="report" name="报表库" point="com.amarsoft.sysconfig.ep.dbtype">
<functions>
<function entryPage="com.amarsoft.sysconfig.report.EntryPage" id="ReportMng" name="报表设置">
</function>
</functions>
</extension>
You can get the name=”foo” attribute of your extension with this code: