Skip to main content



      Home
Home » Modeling » Ecore Tools » Adding custom EMF metamodel validation rules
Adding custom EMF metamodel validation rules [message #1687522] Thu, 19 March 2015 13:44
Eclipse UserFriend
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,

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


Current Time: Fri Jul 04 21:44:27 EDT 2025

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

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

Back to the top