Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » toggle button persistent between Eclipse sessions
toggle button persistent between Eclipse sessions [message #331445] Sun, 07 September 2008 20:21
Eclipse UserFriend
Hello,
I have defined an action (tool bar button) that looks something like:

<actionSet
id="MyID"
label="The Label"
visible="true">
<action
class="the.Class"
icon="icons/theIcon.gif"
id="the.action.id"
label="The Label"
menubarPath="path/"
state="false"

style="toggle"

toolbarPath="path/"
tooltip="The ToolTIp">
</action>
</actionSet>

This is a "toggle" button but i need it's state to persist between Eclipse
sessions, just like the "Toggle Mark Occurrences" button for example. My
problem is that my button is not associated with any view or editor, so
that I cannot use the retarget mechanism that Eclipse does for "Toggle
Mark Occurrences".

Is there another way of doing this ?

Thank you very much,
George
Previous Topic:Some EFS questions
Next Topic:Ganymede: Annoying JRE warnings
Goto Forum:
  


Current Time: Wed Apr 30 19:52:39 EDT 2025

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

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

Back to the top