Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EVL] Validation on EMF editor
[EVL] Validation on EMF editor [message #656523] Sat, 26 February 2011 10:19 Go to next message
Christian  is currently offline Christian
Messages: 14
Registered: February 2011
Junior Member
Hi there,

Is it possible to use EVL for validating not only the GMF diagram but also the (EMF) model itself?
In the GMF mindmap tutorial for example, I would like to validate the xxx.mindmap file (in addition to the xxx.minmap_diagram). Is this possible with EVL?

Cheers,
Christian
Re: [EVL] Validation on EMF editor [message #657056 is a reply to message #656523] Tue, 01 March 2011 13:39 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi Christian,

To do this, you need to open the .mindmap file, right-click on the root model element and select "Validate".

Cheers,
Dimitris
Re: [EVL] Validation on EMF editor [message #659203 is a reply to message #656523] Fri, 11 March 2011 14:26 Go to previous messageGo to next message
Christian  is currently offline Christian
Messages: 14
Registered: February 2011
Junior Member
Oh, now that's kinda embarassing Smile
I expected it to be under Edit -> Validate (like in GMF)..

I want to run the validation whenever i save the model file, like i did for the diagram via XXXDocumentProvider. Can you help me out on this matter, or should I post this question in the EMF forums?

Cheers,
Christian
Re: [EVL] Validation on EMF editor [message #659205 is a reply to message #659203] Fri, 11 March 2011 14:47 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 886
Registered: July 2009
Senior Member
Hi Christian,

I'm not really sure how to do this (haven't needed to so far) so I guess asking in the EMF newsgroup sounds like a good idea.

Cheers,
Dimitris
Re: [EVL] Validation on EMF editor [message #659207 is a reply to message #656523] Fri, 11 March 2011 14:51 Go to previous message
Christian  is currently offline Christian
Messages: 14
Registered: February 2011
Junior Member
Thanks for the quick response.
I just stumbled upon this post which adresses my issue.
Previous Topic:On ConstraintsBinding for Model validation with EVL
Next Topic:ETL problem
Goto Forum:
  


Current Time: Sat Oct 25 17:41:19 GMT 2014

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

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