Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Adding OCL in a Ecore Metamodel (Adding OCL in a Ecore Metamodel)
Adding OCL in a Ecore Metamodel [message #510994] Fri, 29 January 2010 08:26 Go to previous message
Fernando Herrera is currently offline Fernando Herrera
Messages: 49
Registered: January 2010
Member
Hi everyone!. I'm trying to add OCL for specify restrictions and derived references in my ecore metamodel (the mindmap). I'm reading the book Eclipse Modeling Project: A domain specific language toolkit. In Chapter 3, Gronback show how do this activity. The problem is I have done and review the book twice and Eclipse not generate the JET templates in the templates folder and the code derived from the OCL Statements in the class implementation. I checked the source and its the tutorial: Christian W. Damus, "Implementing Model Integrity in EMF with MDT OCL. Well, I tried do it whit the Eclipse modeling project version and the modeling version of Eclipse (both Galileo) and in the two cases it doesn't work. Can somebody tell me how to add OCL in the Ecore metamodel in these versions?

PS: I read anothers post with the same problem but I don't find any solution in the order to solve this problem. Is important for me, because I have to develop a plugin's series in the form of UML profiles for a specific language to represent collaborative business processes models between business partners and I must to implement restrictions in the differents metamodels using OCL


[Updated on: Fri, 29 January 2010 16:03]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Announce] MoDELS 2010 Call for Papers
Next Topic:Re: [OCLinEcore] Calling operations within constraints
Goto Forum:
  


Current Time: Fri May 24 16:52:20 EDT 2013

Powered by FUDForum. Page generated in 0.01663 seconds