Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » help on section OCL
icon4.gif  help on section OCL [message #1062224] Thu, 06 June 2013 14:53 Go to next message
abdelhay abdou is currently offline abdelhay abdouFriend
Messages: 4
Registered: June 2013
Junior Member
hello !
i want include OCL in a model created by GMF,to define constraints, is in the creation of Ecordiagram where i must include it or after?
please what is the steps to follow to work with it in the new model ?

thank you in advance

[Updated on: Thu, 06 June 2013 22:48]

Report message to a moderator

Re: help on section OCL [message #1062635 is a reply to message #1062224] Mon, 10 June 2013 08:24 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

there are several ways of implementing constraints. 1) Gmfmap model, 2) OCLInEcore (http://wiki.eclipse.org/MDT/OCLinEcore), 3) Epsilon Validation Framework (http://www.eclipse.org/epsilon/doc/evl/). All of these have their pros and cons depending on what you want to achieve. In my project I did choose a mix of EVL for constraints and OCLInEcore for implementing methods as I wanted to have the whole stuff available from outside of GMF.

Ralph
Re: help on section OCL [message #1063880 is a reply to message #1062635] Fri, 14 June 2013 16:56 Go to previous message
abdelhay abdou is currently offline abdelhay abdouFriend
Messages: 4
Registered: June 2013
Junior Member
Hi


Thank you Ralph for reply

the simple one is the first, by using Audits container or just a simple constraint, according cases and the complexity of the project.
Previous Topic:Get the Edit part without opening editor.
Next Topic:GRID_SPACING stored in the diagram model
Goto Forum:
  


Current Time: Thu Apr 25 23:09:26 GMT 2024

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

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

Back to the top