Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Re: GMF Help: no mapping options in mapping def wizard
Re: GMF Help: no mapping options in mapping def wizard [message #147902] Mon, 27 August 2007 11:42 Go to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Peter,

It's best to use the GMF newsgroup, which I've added to the "to" list of
the reply, for GMF-specific questions.


Peter White wrote:
> I created a simple ecore model with two classes: ModelObject and ModelObjectConnection. The ModelObjectConnection has two associations to ModelObject, allowing it to represent a connection between two ModelObjects. All properties are strings. I generated the EMF and EMF editor code ok. My problem is in creating the GMF mapping. I followed the cheatsheet GMF tutorial, substituting my own model for the 'mindmap' example. I got as far as creating a mapping definition, but the wizard showed empty lists, so I couldn't map anything. Any tips appreciated.
>
Re: GMF Help: no mapping options in mapping def wizard [message #147976 is a reply to message #147902] Mon, 27 August 2007 18:29 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

GMF mapping wizard relies on containment references to discover diagram
structure; basically you specify EClass of diagram canvas and it
traverses it's containment references to find nodes and links. If there
are no containments in your model it will find nothing but the diagram
EClass.

Ed Merks wrote:
> Peter,
>
> It's best to use the GMF newsgroup, which I've added to the "to" list of
> the reply, for GMF-specific questions.
>
>
> Peter White wrote:
>> I created a simple ecore model with two classes: ModelObject and
>> ModelObjectConnection. The ModelObjectConnection has two associations
>> to ModelObject, allowing it to represent a connection between two
>> ModelObjects. All properties are strings. I generated the EMF and EMF
>> editor code ok. My problem is in creating the GMF mapping. I followed
>> the cheatsheet GMF tutorial, substituting my own model for the
>> 'mindmap' example. I got as far as creating a mapping definition, but
>> the wizard showed empty lists, so I couldn't map anything. Any tips
>> appreciated.
>>
Previous Topic:Feature Seq Initializer doesn't work good for me
Next Topic:how to modify attibute from non-gef editor
Goto Forum:
  


Current Time: Thu Jul 25 22:35:47 GMT 2024

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

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

Back to the top