Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » integration OCL validation in EMF generated editor
integration OCL validation in EMF generated editor [message #531840] Thu, 06 May 2010 10:50 Go to next message
Eclipse UserFriend
Originally posted by:


i am currently doing a research project at RWTH Aachen university
concerning configuration editors.
I use the eclipse model framework to generate a functional network editor
from the ecore metamodel. Then i extend my metamodel with the same data
structures as the audit container, audit rules and constraints from gmfmap
for variating functionality (i.e. if the function variant A is selected,
the function variant B must me selected as well).

Now i want to generate a new layer (configuration view) from my previously
generated editor, which validates against the constraints and calculates
valid configurations. My idea of solution is to use the same generator
templates as GMF does, but i can not find any helpful sources or papers
concerning this process.

Am i on the right track? Does somebody know if there are similar projects
using this approach or can somebody give me a hint on how to integrate the
OCL validation in my functional network editor?

Thanks in advance for any help or suggestions,
Re: integration OCL validation in EMF generated editor [message #531875 is a reply to message #531840] Thu, 06 May 2010 13:15 Go to previous message
m kranz is currently offline m kranzFriend
Messages: 69
Registered: January 2010
hi maxim

i do not really understand what you are doing. are you talking about emf or gmf editor?
anyway, i just drop you some links.
first one is about integrating ocl validation in the model code. -Codegen-with-OCL/index.html

the others are about customizing gmf code generation. itor-by-customizing-templates/ .xpand.doc/help/ch01s06.html

hope it helps.


Previous Topic:Context Menu in GMF
Next Topic:Load model created by GMF generated editor
Goto Forum:

Current Time: Sat Mar 06 06:29:42 GMT 2021

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

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

Back to the top