Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Partial mapping of ecore to gmftool
Partial mapping of ecore to gmftool [message #235995] Fri, 10 July 2009 13:10 Go to next message
Peter Thijs is currently offline Peter ThijsFriend
Messages: 17
Registered: July 2009
Junior Member
Hello all,

I have a simple ecore model which consists of classes A, B and C.
Class B has a containment relation to A and C to B.

In gmftool, I would like to define tools for creating classes A and C.

Can someone tell me how to define the gmfmap such that instances
generated by the graphical editor (created using gmf) satisfies the
ecore model, which expects instances of B.

Kind regards,

Peter Thijs
Re: Partial mapping of ecore to gmftool [message #236019 is a reply to message #235995] Fri, 10 July 2009 14:09 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Peter,

Add a derived feature in class C referenceing A classes, implement this feature
in EMF-generated code and use it as a containment one for node mapping of
class A (below class C).

Alex Shatalin
Previous Topic:Generate diagram code programmatically
Next Topic:GUI testing tool
Goto Forum:

Current Time: Tue Mar 02 15:29:57 GMT 2021

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

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

Back to the top