Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » problems with emf constraints live validation with gmf
problems with emf constraints live validation with gmf [message #220826] Mon, 09 March 2009 18:10
Eclipse UserFriend
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
Previous Topic:Create a element from a link
Next Topic:Label behaviour in GMF2.1
Goto Forum:
  


Current Time: Sun Mar 07 21:49:44 GMT 2021

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

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

Back to the top