Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Error in .gmfmap model (in mapping model)(empty map domain model elements)
Error in .gmfmap model (in mapping model) [message #1060894] Wed, 29 May 2013 00:20 Go to next message
sanjana rai is currently offline sanjana raiFriend
Messages: 1
Registered: May 2013
Junior Member

I am new to GMF. I have followed the GMF tutorial to create a mapping model in GMF dashboard using combine button.When creating a GMFmap model, I can see only package option in the wizard, but not class oprtion to select domain element for canvas mapping (see below figure for reference).


Another issue is, I can not see the nodes and links while creating map model in the wizard (see fig2 capture for reference).


please anyone can help me to solve this issues.

Thanks in advance.

  • Attachment: Capture1.PNG
    (Size: 102.91KB, Downloaded 485 times)
  • Attachment: Capture.PNG
    (Size: 86.30KB, Downloaded 470 times)
Re: Error in .gmfmap model (in mapping model) [message #1061353 is a reply to message #1060894] Fri, 31 May 2013 10:11 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member

it looks like something with your ECore model is wrong. Did you validate your Ecore model? Did you try out if the from EMF generated Editor works as expected? Are all you containments set correctly?

Re: Error in .gmfmap model (in mapping model) [message #1061404 is a reply to message #1060894] Fri, 31 May 2013 13:27 Go to previous message
Miklós Földényi is currently offline Miklós FöldényiFriend
Messages: 6
Registered: October 2012
Junior Member

I ran into the exact same problem today while going through this tutorial:

My issue was that I had errors in my .gmfgraph definition, which I only realized after going through it line by line, side by side with the working example, downloadable from the above tutorial page. (bottom of the page)

I strongly suggest that you re-check your models looking at this working example.

I had the following inconsistencies in .gmfgraph: (maybe these are the very errors you have)
-I did not wrap my "Figure"-s within a "Figure Description".
An example hierarchy would be:
Whereas my faulty original was:
-I did not set the "figure" reference of the "Node"-s. This was because you can only reference "FigureDescriptor" objects here, not the "Figure"-s (like "Ellipse") themselves, so omitting those will make you leave these empty as well.

I hope I could help!

Previous Topic:Connector Labels (Polyline Connection)
Next Topic:Where are NLS messages defined?
Goto Forum:

Current Time: Sun Jun 24 13:28:02 GMT 2018

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

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

Back to the top