toggle button persistent between Eclipse sessions [message #331445] |
Mon, 08 September 2008 00:21 |
Ganea George![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=georgeganea%40gmail.com) 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
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds