Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:59 Go to next message
jo ber is currently offline jo berFriend
Messages: 88
Registered: August 2018
Member
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 12:44 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7564
Registered: July 2009
Senior Member
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: Thu Feb 02 15:56:39 GMT 2023

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

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

Back to the top