开发者

How to access to menu items?

开发者 https://www.devze.com 2023-03-06 17:15 出处:网络
I created a menu of RCP application only in plugin.xml. How to 开发者_C百科access to items of this menu programicaly to change their texts and images at runtime?If you are using command framework to c

I created a menu of RCP application only in plugin.xml. How to 开发者_C百科access to items of this menu programicaly to change their texts and images at runtime?


If you are using command framework to contribute those menu items, you can use org.eclipse.ui.commands.IElementUpdater to change the text and image.

0

精彩评论

暂无评论...
验证码 换一张
取 消