Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Grammar for Validation
OCL Grammar for Validation [message #32436] Mon, 09 July 2007 14:03 Go to next message
Jitin Hirani is currently offline Jitin HiraniFriend
Messages: 2
Registered: July 2009
Junior Member
How to validate diagrams in GMF using OCL Grammar??

Please help.

Thanks in advance.
Re: OCL Grammar for Validation [message #32573 is a reply to message #32436] Mon, 09 July 2007 15:40 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Jitin,

This is a question for the GMF newsgroup (which I have included in my
reply). My understanding of validation in GMF is limited, but I am fairly
certain that the context classifier of an OCL-defined Audit constraint is
the type of the semantic element that the diagram view visualizes.

I suppose that the GMF tutorial and the examples (TaiPan, Ecore editors)
illustrate the use of Audits. Also, there is a document in the GMF Wiki
that explains how to define Audits, including OCL snippets:

http://wiki.eclipse.org/GMF_Constraints

Cheers,

Christian


Jitin Hirani wrote:

> How to validate diagrams in GMF using OCL Grammar??
>
> Please help.
>
> Thanks in advance.
Previous Topic:Customizing ocl environnement
Next Topic:Parsing Error: Iterator variable must have same type as source element.
Goto Forum:
  


Current Time: Thu Apr 18 23:53:58 GMT 2024

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

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

Back to the top