|Re: Attribute with derived value [message #690957 is a reply to message #690867]
||Thu, 30 June 2011 13:15
| Axel Uhl
Registered: July 2009
have you added an annotation to the enclosing EPackage that activates the OCL setting delegate? It's explained, e.g., here: http://www.slideshare.net/EdWillink/enriching-withocl (see slide #36). You may also use the OCLInEcore editor to textually edit your Ecore models. In this case, the delegate annotations will, as far as I know, be added automatically for you. Ed may have more details.
Anyway, the annotation source URI to be used on the EPackage is http://www.eclipse.org/emf/2002/Ecore, the key is "invocationDelegates" and the value is "http://www.eclipse.org/emf/2002/Ecore/OCL".
Powered by FUDForum
. Page generated in 0.03511 seconds