Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Radio button in menu
Radio button in menu [message #534109] Tue, 18 May 2010 06:01 Go to next message
No real name is currently offline No real name
Messages: 18
Registered: April 2010
Junior Member
Hello everybody

I have got another task which i don't know how to solve yet. Imagine i have got two radio buttons in view menu but when i run application none of them is checked to be pressed. How i can do it was default pressed during start. I define this menu and commands using plugin.xml but there is no such option for make it pressed. Anybody knows how to do that? Thanks for help Smile

Tom
Re: Radio button in menu [message #534247 is a reply to message #534109] Tue, 18 May 2010 13:08 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Check out
http://blog.eclipse-tips.com/2009/03/commands-part-6-toggle- radio-menu.html

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Commands problem
Next Topic:Initialize Action and View simultaneously
Goto Forum:
  


Current Time: Wed Oct 01 18:37:03 GMT 2014

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

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