How to update the checked state of a command per window? [message #336462] |
Mon, 15 June 2009 10:55  |
Eclipse User |
|
|
|
Originally posted by: eclipse-newsgroups.scharf.gr
I have a very hard time finding information
about commands.
Here is a vary simple problem:
- I want to have a command that has a checked (toggle) state
- There is boolean a variable associated with each window
- I want the checked state represent the state of this variable
- when the state changes, the command should change its state
- when handler is called, it should toggle the variable
I have no idea how to do this with commands....
Michael
--
Michael Scharf
Wind River Systems GmbH
http://www.WindRiver.com
http://MichaelScharf.blogspot.com/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06922 seconds