|Making a EAttribute of a EClass read-only in a Sirius model [message #1827035]
||Wed, 06 May 2020 10:18
| Jad El-khoury
Registered: August 2015
Is there a way I can prevent the user from changing a specific attribute of an EClass in the standard Properties view? It can be even good enough if I can make it hidden.|
For the Eattribute, I changed the genModel so that it's PropertyType to be Readonly. This makes the value readonly in the standard EMF editor. But Sirius does not seem to care about that.
Any other approach?
[Updated on: Wed, 06 May 2020 10:19]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01414 seconds