Skip to main content



      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] Tue, 28 May 2013 20:20 Go to next message
Eclipse UserFriend
Hi,

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).

index.php/fa/15075/0/

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

index.php/fa/15076/0/.

please anyone can help me to solve this issues.

Thanks in advance.

Regrads,
Sanjana
  • Attachment: Capture1.PNG
    (Size: 102.91KB, Downloaded 855 times)
  • Attachment: Capture.PNG
    (Size: 86.30KB, Downloaded 818 times)
Re: Error in .gmfmap model (in mapping model) [message #1061353 is a reply to message #1060894] Fri, 31 May 2013 06:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

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?

Ralph
Re: Error in .gmfmap model (in mapping model) [message #1061404 is a reply to message #1060894] Fri, 31 May 2013 09:27 Go to previous message
Eclipse UserFriend
Hi!

I ran into the exact same problem today while going through this tutorial: http://www.ibm.com/developerworks/library/os-ecl-gmf/

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:
Canvas/FigureGallery/FigureDescriptor/Ellipse
Whereas my faulty original was:
Canvas/FigureGallery/Ellipse
-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!

Mike
Previous Topic:GMF generate diagram code through ant scripts from gmfgen
Next Topic:Where are NLS messages defined?
Goto Forum:
  


Current Time: Tue Jul 22 15:26:15 EDT 2025

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

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

Back to the top