Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [SOLVED] How to make properties non editable
[SOLVED] How to make properties non editable [message #731832] Mon, 03 October 2011 09:05 Go to next message
Iban Ayestaran is currently offline Iban AyestaranFriend
Messages: 58
Registered: September 2011
Member
Hi!

I want to make some properties of my elements non-editable, so that the user can see them in the properties window but cannot change them. Does anybody know how to do that?

Thanks in advance.

[Updated on: Mon, 03 October 2011 15:46]

Report message to a moderator

Re: How to make properties non editable [message #731946 is a reply to message #731832] Mon, 03 October 2011 14:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
In your *.genmodel's GenFeature you can set the Property Type to
Readonly instead of Editable.


On 03/10/2011 2:05 AM, Iban wrote:
> Hi!
>
> I want to make some properties of my elements non-editable, so that
> the user can see them in the properties window but cannot change them.
> Does anybody know how to do that?
>
> Thanks in advance.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to make properties non editable [message #731988 is a reply to message #731946] Mon, 03 October 2011 15:45 Go to previous message
Iban Ayestaran is currently offline Iban AyestaranFriend
Messages: 58
Registered: September 2011
Member
It works, thanks!!
Previous Topic:: Creating Custom Property cell editor in GMF 2.0
Next Topic:Modify gmf Property sheet
Goto Forum:
  


Current Time: Thu Apr 25 04:39:04 GMT 2024

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

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

Back to the top