开发者

How can I change the button that is in the view

开发者 https://www.devze.com 2023-01-18 11:57 出处:网络
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 .

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

精彩评论

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