Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » help on section OCL
icon4.gif  help on section OCL [message #1062224] Thu, 06 June 2013 10:53 Go to next message
Eclipse UserFriend
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 18:48] by Moderator

Re: help on section OCL [message #1062635 is a reply to message #1062224] Mon, 10 June 2013 04:24 Go to previous messageGo to next message
Eclipse UserFriend
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 12:56 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 23:46:13 EDT 2025

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

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

Back to the top