Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Method OCL.parse(OCLInput input) in pivot
Method OCL.parse(OCLInput input) in pivot [message #825454] Tue, 20 March 2012 17:21 Go to previous message
Juan Cadavid is currently offline Juan Cadavid
Messages: 46
Registered: July 2009
Location: Rennes, France
Member

Hello,

I have been using for some time Eclipse OCL for my research on the conjunct usage of Ecore and OCL, reason for which I have always used the old Ecore binding with generics to build my prototypes; but I've decided it's finally time to migrate the code to using the pivot metamodel. I have been able to decipher some of the differences by looking at the pivot code. There is however one thing I haven't been able to find; how to parse entire .ocl documents. In the old OCL, there was this method taking the OCL document as parameter and then returning the list of constraints:

public List<CT> parse(OCLInput input)

which I can't find now in the OCL pivot plugin. Has this been implemented already? Is there another way to accomplish parsing an entire document?

PD. Just cross-checking, I realized this question was made already Smile
http://www.eclipse.org/forums/index.php/mv/msg/243456/754603/#msg_754603
However there was no answer so I though I'd ask.

Many thanks in advance,

Juan Cadavid
 
Read Message
Read Message
Read Message
Previous Topic:Class.allInstances() does not work
Next Topic:OCLinEcore editor and comment lines
Goto Forum:
  


Current Time: Mon May 20 10:33:12 EDT 2013

Powered by FUDForum. Page generated in 0.01676 seconds