Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Menu Contributions] Update UI of RadioState
[Menu Contributions] Update UI of RadioState [message #525783] Wed, 07 April 2010 19:08
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
Hello.

I followed the tutorial at http://blog.eclipse-tips.com/2009/03/commands-part-6-toggle- radio-menu.html to add some radio buttons (as submenu of a pulldown button) to a views toolbar.
I added the handler programmatically by using the IHandlerService.
Everything works fine (the handler is called correctly and has the correct state), but the UI is not updated (the appropriate menu is not marked).
How do I update the UI? HandlerUtil.updateRadioState doesn't seem to update the UI, nor does a commandService.refreshElements call afterwards.

Regards,
Kai
Previous Topic:Saving workspace intermediately (before shutdown)
Next Topic:[Section] icon in title bar?
Goto Forum:
  


Current Time: Thu Apr 25 15:18:15 GMT 2024

Powered by FUDForum. Page generated in 0.02008 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top