What is the current status of this OCL in profiles issue? [message #777688] |
Tue, 10 January 2012 22:22 |
|
Hello everybody
I am currently validating that an activity model is compliant with certain rules by using a set of queries in a transformation tool I wrote in Acceleo. If the diagram meets the rules then the transformation tool generates code in a hardware description language. Now, I want to define a profile to add special icons and express the rules using OCL constraints. I got stuck.
I read the following threads regarding support for OCL in Papyrus:
http://www.eclipse.org/forums/index.php/t/206602/
http://www.eclipse.org/forums/index.php/t/197674/
http://www.eclipse.org/forums/index.php/m/672521/
My conclusion is that it was not possible to add constraints to stereotypes and enable automatic evaluation before Eclipse Indigo. One of the threads mentioned a so called Xtext editor that was going to be available in Eclipse Indigo to add OCL constraints.
I also checked some tutorials about the stand-alone version of Papyrus that did allow addition of OCL code, but that feature seems to be no longer present in Papyrus for Eclipse.
Could you please let me know if nowadays I can add OCL code to stereotypes and check activity models using such restrictions?
Thanks a lot for your help
/T
/TB
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds