Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Adding custom EMF metamodel validation rules
Adding custom EMF metamodel validation rules [message #1687522] Thu, 19 March 2015 17:44
Francois Cabrol is currently offline Francois CabrolFriend
Messages: 32
Registered: January 2015
Hi everyone,

I am currently working on a set of code generation tools that use an Ecore metamodel (modeled using Ecore Tools) as an input. The problem is that the input metamodel must comply with given business rules. For example, the code generation tool does not support a model containing an EClass having a reference to itself.

I would like to know if it is possible to extend the Ecore Tools modeler so that I can add my own metamodel validation rules and include them in the Validation layer, such as standard validation rules (such as "An attribute shall have a name and a type"). Is there any extension point related to this purpose or any other way to do this ?

Thanks in advance,

Previous Topic:Instantiation of an ecore model
Next Topic:IllegalArgumentException: Can only deactivate the active transaction
Goto Forum:

Current Time: Mon Mar 01 05:26:21 GMT 2021

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

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

Back to the top