|Re: Execute OCL queries on models [message #508053 is a reply to message #506960]
||Fri, 15 January 2010 16:46
| Adolfo Sanchez-Barbudo Herrera
Registered: July 2009
Have you tried the OCL Interpreter example provided by the OCL's SDK?
To make the OCL Interpreter available for you, you should do the following:
1. create a New -> Example -> OCL Interpreter, which creates the plugins
of the OCL interpreter in your workspace.
2. select a created plugin -> right click -> Run as -> Eclipse
Application, which runs a second instance of Eclipse which contains the
OCL Interpreter (You could also install the interpreter plugins in your
3. Follow the link I provided above.
El 11/01/2010 14:45, Romina Eramo escribió:
> Dear All,
> I'm actually using EMF OCL and I'm analyzing the example RoyalAndLoyal
> available in the OCL plugin. The OCL query code in the .ocl file is
> defined on the basis of the ecore metamodel. Is possible to execute it
> on a model conforms to the corresponding metamodel? In other words, can
> I execute OCL queries on models and obtain the evaluation result?
> Hope my question is clear, thanks in advance.
Powered by FUDForum
. Page generated in 0.02232 seconds