Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Audit Container does not validate
Audit Container does not validate [message #766432] Thu, 15 December 2011 19:17 Go to next message
Hoang  is currently offline Hoang Friend
Messages: 45
Registered: September 2011
Location: Milan
Member
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 08:03 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
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: Fri Apr 19 21:36:16 GMT 2024

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

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

Back to the top