我有一个带有自己图标的工具栏项目,它在plugin.xml文件中定义如下:
<action
class="MyActionClass"
id="MyActionID"
label="MyActionLabel"
menubarPath="MyActionMenuBarPath"
toolbarPath="MyActionToolBarPath"
icon="icon/myicon.png" <---- this one
...
</action>
如何在需要时动态更改这个?我是指从代码中更改它。