Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Automatic validation.
icon5.gif  Automatic validation. [message #633571] Mon, 18 October 2010 12:51
José Miguel P. is currently offline José Miguel P.Friend
Messages: 66
Registered: March 2010
Member

Hello!!

I'm using EVL for validate my model, but this is not a dynamically validation because I need push a button.

In this article ( http://www.eclipse.org/gmt/epsilon/doc/articles/evl-gmf-inte gration/ ) I can see I can do validation calling to runValidation method ( This is the call: ValidateAction.runValidation((View) document.getContent());
), and it's working fantastic.

Now I'm trying validate my model dynamically when I create a object or a link, but I don't know how I can do it. I have tried modify the doExecuteWithResult function of XXXCreateComand class and call to runValidation function, but this function need a View Object, and I don't know how can I get it.

Can somebody help me? . Is this the way for do it?

Thanks you very much for your help!! Wink
Previous Topic:Custom Figure
Next Topic:Custom Creation Tool: problems with connection tool
Goto Forum:
  


Current Time: Wed Apr 24 22:23:13 GMT 2024

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

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

Back to the top