Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:11 Go to next message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 196
Registered: July 2009
Senior Member
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 06:15 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
> 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: Thu Apr 25 16:05:38 GMT 2024

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

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

Back to the top