Search code examples
umlemfeclipse-gmfpapyrus

create emf generated model from an uml model


I'm triying to create a graphical editor using eclipse gmf, based on an uml model,

for this I created a .gnemodel file based on my uml model but I do not have the associations in the generated .ecore file

I used eclipse papyrus to create the uml model and I think there is something missing so the associations can be imported to the ecore file.

Edit (Image from comment) enter image description here


Solution

  • I found the solution, actually in this example the association owns both of its ends so changing the owner of the end i want to use in my .ecore file into classifier in the properties view of papyrus worked. This is a screenshot: https://i.sstatic.net/WUccb.jpg