Automatic validation. [message #633571] |
Mon, 18 October 2010 12:51 |
|
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!!
|
|
|
Powered by
FUDForum. Page generated in 0.02785 seconds