Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EConstraint in Ecore Model
EConstraint in Ecore Model [message #622932] Wed, 26 May 2010 04:36 Go to next message
Milind is currently offline Milind
Messages: 31
Registered: April 2010
Member
Hi ,

I am going through the following URL for implementing OCl Valdiation 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 #622934 is a reply to message #622932] Wed, 26 May 2010 06:47 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25917
Registered: July 2009
Senior Member
Swathi,

I don't know where EConstraints came from. We've never had them. Have
a look at the OCL documentation for how this can be done with OCL
EAnnotations. Search the OCL and EMF newsgroups for details.

swathi wrote:
> Hi ,
>
> I am going through the following URL for implementing OCl Valdiation
> 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
Previous Topic:EConstraint in Ecore Model
Next Topic:Class invoked when attribute value is changed
Goto Forum:
  


Current Time: Thu Jul 24 06:54:53 EDT 2014

Powered by FUDForum. Page generated in 0.02246 seconds