开发者

How can I change the button that is in the view

I have a toggle button that is on the Viewer![alt text][1]

the problem is , when it turn on , How can reco开发者_高级运维ver the last status . like even though the default value is false , how to set it true programmatically.

In the plugin.xml , the default status is true.


If have contributed it via commands, you need to switch the state of the command (see HandlerUtil.toggleCommandState() method) and then call ICommandService.refreshElements() to update all the contributions for that command

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜