Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Audit rule confusion
Audit rule confusion [message #213131] Wed, 10 December 2008 04:01 Go to next message
Eclipse UserFriend
Hello,
I have added some audit rule in GMF mapping model to constraint my
model.Somehow the validation doesn't work in the generated editor when
disobeying operation happens.I wonder if I need to add some OCL
constraints in the model definition or in the EMF generated code, and then
apply this Audit rule in the mapping model to make the validation work?
Or if anyone know the reason why only applying Audit rule in mapping
model doesn't work?


Thanks a lot!

Ye Liu
Re: Audit rule confusion [message #213259 is a reply to message #213131] Thu, 11 December 2008 10:50 Go to previous message
Eclipse UserFriend
Hello yeliu,

Try setting GenDiagram.validationEnabled attribute to true, regenerating
the code + execution validate action in the generated editor (should be registered
after all tehse steps).

-----------------
Alex Shatalin
Previous Topic:Problem with connection on editor reload
Next Topic:Compartments
Goto Forum:
  


Current Time: Thu Jul 17 20:39:25 EDT 2025

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

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

Back to the top