Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Initializing an editor's toggle action
Initializing an editor's toggle action [message #797448] Mon, 13 February 2012 13:57 Go to next message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
Hi,
I'm trying to set an editor's toggle action to pressed/unpressed according to an external value when the editor is loaded.
I can't seem to figure out where I can get access to the editor after it has been loaded as SapphireEditor's init method is final.
Would appreciate and pointers.
Thanks,
Roded
Re: Initializing an editor's toggle action [message #797595 is a reply to message #797448] Mon, 13 February 2012 17:23 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
You can initialize the state of your action in the action handler's init method.

- Konstantin
Re: Initializing an editor's toggle action [message #797729 is a reply to message #797595] Mon, 13 February 2012 21:06 Go to previous message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
Of course..
Thanks.
Previous Topic:Vote for Sapphire
Next Topic:Select initial focused property in Sapphire dialogs
Goto Forum:
  


Current Time: Fri Apr 26 13:18:08 GMT 2024

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

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

Back to the top