Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » i can't generate mapping model from domain model??? please teach me.
icon5.gif  i can't generate mapping model from domain model??? please teach me. [message #1743973] Wed, 21 September 2016 08:44 Go to next message
tacosu festival is currently offline tacosu festivalFriend
Messages: 1
Registered: September 2016
Junior Member
I practice how to use gmf in attached pdf file.


But, in section 4, my project is not to generate mapping model like attached pdf file(figure 14).
So, nodes and links do not exist.
why? i don't understand.

i attach .ecore file and other file.

please teach me why I can't generate mapping model from domain model.
Re: i can't generate mapping model from domain model??? please teach me. [message #1746889 is a reply to message #1743973] Mon, 07 November 2016 11:10 Go to previous message
Ángel Moreno is currently offline Ángel MorenoFriend
Messages: 13
Registered: November 2013
Location: Madrid
Junior Member
Hi tacosu,

You have a problem in your ecore definition. The EClass with name PetriNet, has 4 EReferences, that must have their containment property to true. This EClass acts as the Diagram Root, and for this reason acts as the container for the EClass referenced by their EReferences. Try to change this property and ask if you have more problems with your test case.

Greatings


Ángel M.
Researcher @ Kybele Research Group
Rey Juan Carlos University, Madrid, Spain
Previous Topic:Getting matcher from elementType instance?
Next Topic:'diagramLabel' of 'Feature Label Mapping false'
Goto Forum:
  


Current Time: Wed Dec 13 15:10:46 GMT 2017

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

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