Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Restoring toolbar item state of last session
Restoring toolbar item state of last session [message #335108] Mon, 23 March 2009 10:11 Go to next message
Eclipse UserFriend
Hello,

I want to save and restore the state of a views toolbar item.
The toolbar item points to a command defined with org.eclipse.ui.commands.
The toolbar entry is defined using org.eclipse.ui.menus and having the
style flag set to 'toggle'.
i want eclipse to restore the last state of the entry when restarting.
How can this be done?

Thanks!
Jan
Re: Restoring toolbar item state of last session [message #335140 is a reply to message #335108] Tue, 24 March 2009 02:15 Go to previous message
Eclipse UserFriend
> i want eclipse to restore the last state of the entry when restarting.
> How can this be done?
Not until 3.5 M6:
http://blog.eclipse-tips.com/2009/03/commands-part-6-toggle- radio-menu.html

- Prakash
--
http://blog.eclipse-tips.com
Previous Topic:Eclipse 3.3.2 - compiling workspace takes an extremely long time.
Next Topic:IWorkBenchPropertyPages and disabling/enabling based on content
Goto Forum:
  


Current Time: Sun Jun 08 10:31:40 EDT 2025

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

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

Back to the top