Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Audit Container does not validate
Audit Container does not validate [message #766432] Thu, 15 December 2011 14:17 Go to next message
Eclipse UserFriend
Hi all,

I added a very simple validation to the top level element of my diagram, but it does not work in the runtime Eclipse. This body OCL checks for the empty name of the Service.

self.service.name -> size() > 0


I followed the tutorial part 2, but there is one point that is misleading: It said "Set the 'Validation Provider Priority' to something higher than lowest"

But when I check this property, in Eclipse, it says: "Deprecated DO NOT USE".

What are the correct way for adding Audit Container? Please someone help me with the latest information?

Thanks,

Re: Audit Container does not validate [message #766658 is a reply to message #766432] Fri, 16 December 2011 03:03 Go to previous message
Eclipse UserFriend
Hi,

the last time I used this, the way it is described in the tutorial worked fine for me. However, you could also consider the Epsilon Validation Framework for meta-modell checking.

Ralph
Previous Topic:OCL Validation Error not correctly raised!!! (Update: Please delete this post!)
Next Topic:Constraint on Node Mapping does not actually restrict user from adding the item
Goto Forum:
  


Current Time: Tue Jul 08 03:02:50 EDT 2025

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

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

Back to the top