|
Re: How can you change properties of attributes at runtime? [message #1860604 is a reply to message #1860603] |
Mon, 21 August 2023 08:27  |
Eclipse User |
|
|
|
Certainly there is no way to specify that in the Ecore model. Even in the model instance, you could change valueType after setting one more more of the other features and then you'd still have an inconsistency. In the end, you'll need to specialize the generated DesignParameterImpl' setters to constrain things, and even then, you'll have to be careful what EcoreUtil.copy does, i.e., the valueType would presumably need to be set first, which is generally the case if it's earlier in the list of EAttributes.
|
|
|
Powered by
FUDForum. Page generated in 0.03841 seconds