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 05:05 Go to next message
Iban Ayestaran is currently offline Iban Ayestaran
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 11: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 10:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
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.
Re: How to make properties non editable [message #731988 is a reply to message #731946] Mon, 03 October 2011 11:45 Go to previous message
Iban Ayestaran is currently offline Iban Ayestaran
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: Wed Aug 20 22:27:04 EDT 2014

Powered by FUDForum. Page generated in 0.09391 seconds