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: maximpb.gmx.net

Hello,

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,
Maxim
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
Member
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.

http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html

the others are about customizing gmf code generation.

http://www.bonitasoft.org/blog/eclipse/customize-your-gmf-ed itor-by-customizing-templates/

http://www.jevon.org/wiki/Enabling_Dynamic_Templates_in_GMF

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .xpand.doc/help/ch01s06.html

hope it helps.

cheers

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


Current Time: Tue Sep 29 11:35:19 GMT 2020

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

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

Back to the top