Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » toggle button persistent between Eclipse sessions
toggle button persistent between Eclipse sessions [message #331445] Mon, 08 September 2008 00:21
Ganea George is currently offline Ganea GeorgeFriend
Messages: 23
Registered: July 2009
Junior Member
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: Tue Jul 16 13:31:27 GMT 2024

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

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

Back to the top