|
Re: Question according to http://wiki.eclipse.org/GMF_Constraints [message #661768 is a reply to message #661760] |
Sun, 27 March 2011 17:17 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Ralph,
I think the OCL folks have documented how to use it for constraints;
something that wasn't so easy before the EMF 2.6 release...
Given the documentation is in the wiki, you should feel free to
contribute to it.
ralph. wrote:
> Hi all,
>
> I did not find a better way to discuss this article. Maybe there is
> one existing. The artcle says:
>
> Quote:
>> Java is usually the option when the expression logic represents
>> excessive complexity or requires direct access to Ecore reflective API
>
>
> In my opinion this is not 100% right. I can access the Ecore API by
> using this cast:
>
> self.oclAsType(ecore::EObject)
>
> I think this option should be documented somewher. What do others think?
>
> Ralph
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03540 seconds