Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Validation Framework - Documentation
EMF Validation Framework - Documentation [message #1063589] Thu, 13 June 2013 09:09 Go to next message
Till Fischer is currently offline Till Fischer
Messages: 55
Registered: August 2012
Member
I'm trying to figure out how implementation of validations for EMF models is intended. There is an "EMF Validation Framework", but tutorials and examples are not included in the eclipse documentation after the Helios release anymore. Does this mean that work on the Validation Framework has been discontinued? If so, is there any alternative / best practice available? Or is the old documentation still valid?

Off-Topic: I've got some problems to find the correct forum to post my questions regarding EMF and corresponding tools... could someone clarify which topic should be used? There's "EMF" and "EMF 'Technologoy'", for example. And in brackets behind "EMF 'Technologoy'" theres "Ecore Tools", but there's also another topic called "Ecore Tools" directly. Pretty confusing...
Re: EMF Validation Framework - Documentation [message #1063649 is a reply to message #1063589] Thu, 13 June 2013 11:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
Till,

Comments below.

On 13/06/2013 3:09 PM, Till Fischer wrote:
> I'm trying to figure out how implementation of validations for EMF
> models is intended. There is an "EMF Validation Framework", but
> tutorials and examples are not included in the eclipse documentation
> after the Helios release anymore. Does this mean that work on the
> Validation Framework has been discontinued?
It looks like there are quite a few broken links because there aren't
redirects to the more recent release documents. So you're looking for this?

http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.emf.doc/references/overview/EMF.Validation.html

> If so, is there any alternative / best practice available? Or is the
> old documentation still valid?
>
> Off-Topic: I've got some problems to find the correct forum to post my
> questions regarding EMF and corresponding tools... could someone
> clarify which topic should be used? There's "EMF" and "EMF
> 'Technologoy'", for example. And in brackets behind "EMF
> 'Technologoy'" theres "Ecore Tools", but there's also another topic
> called "Ecore Tools" directly. Pretty confusing...
Yes, unfortunately it's kind of confusing. And in fact these two
container projects are both eliminated but we like to preserve the very
long forum history and can't migrate the newsgroups to better names. In
general you should feel free to use the EMF newsgroup rather than EMFT
and can prefix the topic with the "project" name, e.g., [cdo],
[ecoretools], if the project itself doesn't specify a more specific
newsgroup.
Re: EMF Validation Framework - Documentation [message #1063663 is a reply to message #1063649] Thu, 13 June 2013 12:18 Go to previous messageGo to next message
Till Fischer is currently offline Till Fischer
Messages: 55
Registered: August 2012
Member
Ed Merks wrote on Thu, 13 June 2013 11:16
So you're looking for this?

http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.emf.doc/references/overview/EMF.Validation.html


Yes, thanks. This overview sounds really good; validations seem to be integrated even better than I expected Smile The tutorial I found here didn't sound so good.
Re: EMF Validation Framework - Documentation [message #1063668 is a reply to message #1063663] Thu, 13 June 2013 12:50 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4026
Registered: July 2009
Senior Member
Hi

The framework provided by the EMF Validation project was developed just
before EMF provided the EValidator API.

The facilities of the EMF Validation project are appropriate if you want
batch or live validation.

EValidator is much simpler and (even) better integrated.

If you want to use OCL as the basis for validation then the OCLinEcore
editor will support direct syntax checked editing. You should not need
to edit OCL in XML these days as some of the old tutorials suggest.

Regards

Ed Willink


On 13/06/2013 17:18, Till Fischer wrote:
> Ed Merks wrote on Thu, 13 June 2013 11:16
>> So you're looking for this?
>>
>> http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.emf.doc/references/overview/EMF.Validation.html
>>
>
>
> Yes, thanks. This overview sounds really good; validations seem to be
> integrated even better than I expected :) The tutorial I found
> http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.emf.validation.doc%2Ftutorials%2FvalidationTutorial.html
> didn't sound so good.
Re: EMF Validation Framework - Documentation [message #1063677 is a reply to message #1063668] Thu, 13 June 2013 13:22 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
Note that as of EMF 2.9, generated editors (and even the Sample Ecore
Editor) also support live validation:

http://ed-merks.blogspot.de/2013/01/decorating-with-emf.html


On 13/06/2013 6:50 PM, Ed Willink wrote:
> Hi
>
> The framework provided by the EMF Validation project was developed
> just before EMF provided the EValidator API.
>
> The facilities of the EMF Validation project are appropriate if you
> want batch or live validation.
>
> EValidator is much simpler and (even) better integrated.
>
> If you want to use OCL as the basis for validation then the OCLinEcore
> editor will support direct syntax checked editing. You should not need
> to edit OCL in XML these days as some of the old tutorials suggest.
>
> Regards
>
> Ed Willink
>
>
> On 13/06/2013 17:18, Till Fischer wrote:
>> Ed Merks wrote on Thu, 13 June 2013 11:16
>>> So you're looking for this?
>>>
>>> http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.emf.doc/references/overview/EMF.Validation.html
>>>
>>
>>
>> Yes, thanks. This overview sounds really good; validations seem to be
>> integrated even better than I expected :) The tutorial I found
>> http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.emf.validation.doc%2Ftutorials%2FvalidationTutorial.html
>> didn't sound so good.
>
Previous Topic:Consitency Check
Next Topic:[CDO] Custom query handlers on arbitrary container?
Goto Forum:
  


Current Time: Thu Aug 21 12:13:25 EDT 2014

Powered by FUDForum. Page generated in 0.01642 seconds