|
Re: problem about the interactive OCL console [message #487768 is a reply to message #487521] |
Thu, 24 September 2009 07:38  |
Eclipse User |
|
|
|
Hi.
I think that the best way to get started with OCL is using the examples provided by Ganymede eclipse distribution.
Push the menu option:
File -> New -> Example ... and take the EMF and OCL projects (one of these is the OCL console interpreter).
After that, when you execute the projects like RCP application or in a Runtime Environment, you have to create a model that follows the Ecore metamodel description.
On that model, push the right button of the mouse, and it will be shown a context menu in which is the OCL Interpreter option.
Now, you can write OCL expressions in that console and evaluate them against the model that you have created.
|
|
|
Powered by
FUDForum. Page generated in 0.35905 seconds