[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] EMF Changeable problem

Hello,

one more problem:
I tried to create an EMF-Model with ATL, that applies to an Ecore metamodel of mine. On one attribute of the metamodel I set the property changeable to false. My intention was to forbid the user of the output-model to change some of the created/generated values.
Unfortunately ATL complains, that it cannot set this attribute ("message: feature name is not changeable"). But there must be a way to initialize the attribute. What sense does a read-only attribute make, when there is no way to set the standard-value? Or can this only be used in combination with a static default value in the metamodel and the modification has to be controlled over the editor for the generated model-files?


Kind regards,
Max