Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » EConstraint in Ecore Model
EConstraint in Ecore Model [message #535887] Wed, 26 May 2010 08:37 Go to next message
Milind is currently offline MilindFriend
Messages: 31
Registered: April 2010
Member
Hi ,

I am going through the following URL for implementing OCL Validation at the Ecore level.

http://www.telecom-lille1.eu/people/Vanwormhoudt/siteEMFOCL/ tutoriel/TutorialEMFOCL1.htm

In the above URl, for the .ecore file, While right clicking the class node, EConstraint value is also abtained along with other options like EAttribute, EPackage etc..

But in my Ecore diagram Iam not able to get any option like EContraint. Is there any plugin that needs to be added for getting EConstraint value added in the list.

Please suggest on this.

Regards,
Swathi
Re: EConstraint in Ecore Model [message #535910 is a reply to message #535887] Wed, 26 May 2010 09:59 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Swathi

That is a very old tutorial for Eclipse. Eclipse 3.6 is out next month
and its one minor version per year!

The tutirial is quite interesting as a historical document. I have
thought of suggesting that Ecore have an EConstraint; it seems it once did.

The OCL classes now more closely resemble the OCL specification so there
is a Constrraint class.

The MDT/OCL 3.0.0 release for Eclipse 3.6 has much better integration
and an combined text editors.

I just looked to see if we ship an updated version of your tutorial; it
seems not, so you're just in time to prod me to make sure we have better
documentation for Eclipse 3.6.

Regards

Ed Willink


On 26/05/2010 09:37, swathi wrote:
> Hi ,
>
> I am going through the following URL for implementing OCL Validation at
> the Ecore level.
> http://www.telecom-lille1.eu/people/Vanwormhoudt/siteEMFOCL/ tutoriel/TutorialEMFOCL1.htm
>
>
> In the above URl, for the .ecore file, While right clicking the class
> node, EConstraint value is also abtained along with other options like
> EAttribute, EPackage etc..
>
> But in my Ecore diagram Iam not able to get any option like EContraint.
> Is there any plugin that needs to be added for getting EConstraint value
> added in the list.
>
> Please suggest on this.
>
> Regards,
> Swathi
Re: EConstraint in Ecore Model [message #536342 is a reply to message #535910] Thu, 27 May 2010 17:05 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Swathi

> I just looked to see if we ship an updated version of your tutorial; it
> seems not, so you're just in time to prod me to make sure we have better
> documentation for Eclipse 3.6.

I've looked a bit harder for the updated tutorial. Although the tutorial
is similar in style to Eclipse documents from about 2003, the tutorial
is for EMFOCL which was developed by Gilles Vanwormhoudt at LIFL
layering Dresden OCL on EMF. The tutorial is therefore nothing to do
with MDT/OCL and the MDT/OCL or EMFT newsgroups.

I shall endeavour to ensure that MDT/OCL 3.0.0 ships a tutorial
demonstrating our equivalent and enhanced OCL capabilities.

Regards

Ed Willink
Previous Topic:Add Pacakge imports to the OclParser
Next Topic:duplicate classes in a single package
Goto Forum:
  


Current Time: Sat Apr 20 09:00:15 GMT 2024

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

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

Back to the top