Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Make whole editor read-only
Make whole editor read-only [message #1321484] Tue, 29 April 2014 10:08 Go to next message
Dmitry K is currently offline Dmitry KFriend
Messages: 17
Registered: July 2009
Junior Member
Hi guys!
I'm using Sapphire 0.6.6 and wonder, is there some way to make whole sapphire editor (I mean all property editors on Design page) read-only?
The preferred option for me - to make this somewhere in code during the editor initialization (I have an editor class derived from SapphireEditor)

Best Regards, Dmitry
Re: Make whole editor read-only [message #1322076 is a reply to message #1321484] Tue, 29 April 2014 17:22 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1020
Registered: July 2009
Senior Member
I am afraid that there is no current means to toggle read-only state like that. It can only be specified statically on a per-property basis using @ReadOnly annotation or "read.only" hint in sdef. I suppose, one brute-force approach would be to have two copies of your sdef, where one copy has "read.only" hint applied to each of the property editors. Then you can load one copy or the other during editor initialization.
Previous Topic:Customize Outline Search Filter Behavior
Next Topic:Customise samples
Goto Forum:
  


Current Time: Sat Aug 01 01:37:12 GMT 2015

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

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