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 10:03 Go to next message
Jitin Hirani is currently offline Jitin Hirani
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 11:40 Go to previous message
Eclipse User
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: Mon Jul 28 22:48:11 EDT 2014

Powered by FUDForum. Page generated in 0.01800 seconds