Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » problem about the interactive OCL console
problem about the interactive OCL console [message #487521] Wed, 23 September 2009 14:08 Go to next message
flyduckegg  is currently offline flyduckegg Friend
Messages: 9
Registered: September 2009
Junior Member

I'm just get started with the MDT-OCL, and follow the guidance from here: odel_Instances

but problem comes out when I press 'interactive ocl' in the console, the error box says:
'show console view' encountered a problem
detail: error

is there anybody know the reason?

Thank you very much for the help.
Re: problem about the interactive OCL console [message #487768 is a reply to message #487521] Thu, 24 September 2009 11:38 Go to previous message
Carlos  is currently offline Carlos Friend
Messages: 52
Registered: September 2009

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.

Previous Topic:Referencing models with names that conflict with OCL syntax
Next Topic:Exception while parsing OCL file
Goto Forum:

Current Time: Mon May 21 07:29:59 GMT 2018

Powered by FUDForum. Page generated in 0.01416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top