Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » EConstraint in Ecore Model
EConstraint in Ecore Model [message #535888] Wed, 26 May 2010 08:38 Go to next message
Milind is currently offline MilindFriend
Messages: 31
Registered: April 2010
Hi ,

I am going through the following URL for implementing OCl Valdiation at the Ecore level. 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.

Re: EConstraint in Ecore Model [message #535906 is a reply to message #535888] Wed, 26 May 2010 09:52 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 21
Registered: May 2010
Junior Member
Hi Swathi,

The standard Ecore metamodel does not containt an element named EConstraint.
However there is an OCL extenstion for this metamodel defined in the org.eclipse.ocl.ecore plugin. It contains Constraint element.

Probably you will get a more detailed answer in OCL newsgroup.

Best wishes,
Previous Topic:Command#canExecute is false, why ?
Next Topic:Populating the Combobox of a property Dynamically
Goto Forum:

Current Time: Sun Jun 23 11:16:19 GMT 2024

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

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

Back to the top