problems with emf constraints live validation with gmf [message #220826] |
Mon, 09 March 2009 18:10 |
Eclipse User |
|
|
|
Originally posted by: pieris.rapaeWITHOUT_THIS.web.de
hi,
i got a problem with emf meta model constraints live validation with gmf.
actually i could not even reach any live validating only using emf
framework.
i added some ECORE annotations with key "constraints" to my metamodel
and completet the generated code with the conditions that form my
constraints. manually forced emf validation works fine with them. but i
am not able to do any live validation.
i tried arround with the genmodel and gmfgen parameters
and i was able to raise live-validation of auditrules in gmf.
it seems there is a ValidateAction class in my generated .diagram
project that may invoke a runEMFValidator(). but i do not see how and
when to run this ValidateAction.
is there anybody who has done this before and could give me some hints.
thanks
Lisa
|
|
|
Powered by
FUDForum. Page generated in 0.02301 seconds