|OCL Editor [message #1064630]
||Thu, 20 June 2013 10:09
| Thorsten Arendt
Registered: June 2013
I am looking for a way to model OCL invariants (e.g., for Ecore models) like an ordinary model using the tree-based EMF instance editor. Is there a way to do this? If so, which OCL meta model (which nsURI) do I have to use?
|Re: OCL Editor [message #1065932 is a reply to message #1065919]
||Fri, 28 June 2013 11:32
| Ed Willink
Registered: July 2009
I raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=402780 to major
in response to a similar query a couple of days ago.
I am currently working on the direct generation of the Pivot meta model
from UML 2.5 and other metamodels. This should lead on to solving the
On 28/06/2013 11:28, Thorsten Arendt wrote:
> Hi Ed!
> Thanks for the docu. Now I can translate a textual description of the
> OCL invariant within an EAnnotation to (1) a textual description
> within an OpaqueExpression, and then (2) to the AST representation of
> an ExpressionInOCL. Afterwards I replace the OpaqueExpression by the
> ExpressionInOCL. This is exactly what I want. But...
> After persisting the resource as a *.pivot, there are problems when
> opening it both via the sample reflective editor and by API. For each
> 'ownedType' within a package I get an IllegalValueException:
> org.eclipse.emf.ecore.xmi.IllegalValueException: Value
> 'org.eclipse.ocl.examples.pivot.internal.impl.TypeImpl' is not legal.
> 6, 149)
> Caused by: java.lang.ArrayStoreException
> This really confuses me... any help?
Powered by FUDForum
. Page generated in 0.09007 seconds