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
Member
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: Sat Apr 27 03:04:10 GMT 2024

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

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

Back to the top