Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Audit rule confusion
Audit rule confusion [message #213131] Wed, 10 December 2008 09:01 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
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 15:50 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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: Fri Mar 29 08:33:10 GMT 2024

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

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

Back to the top