Skip to main content



      Home
Home » Eclipse Projects » Sirius » How to apply validation defined in the ecore file
How to apply validation defined in the ecore file [message #1852164] Tue, 03 May 2022 03:59 Go to next message
Eclipse UserFriend
Hi
I've defined a set of constraints and invariants directly in my ecore file. How to reuse them when I click on 'validate' on either a diagram or table representation defined in my odesign file?
Kind regards
Re: How to apply validation defined in the ecore file [message #1852167 is a reply to message #1852164] Tue, 03 May 2022 08:44 Go to previous message
Eclipse UserFriend
Hi

If you used OCLinEcore, it should just work. Just occasionally using OCL->Validate rather than EMF's Validate works better. NB, there is also a WTP Validate menu entry that does nothing other than to confuse.

If you used manual Java, it should work provided your genmodeled model is registered in an outer Eclipse.

Regards

Ed Willink

Previous Topic:SiriusCon Live 2022: the program is available
Next Topic:Is there a way to automatically display the classes children of other classes?
Goto Forum:
  


Current Time: Mon Jul 07 15:59:48 EDT 2025

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

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

Back to the top