Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to assign the nodes with the link mapping in GMF
How to assign the nodes with the link mapping in GMF [message #415986] Tue, 15 January 2008 07:05 Go to next message
Eclipse UserFriend
Originally posted by: tonishant.gmail.com

Hi All,

We were in the process of defining the Graphical editor for our ecore file. we are able to declare the sub nodes inside any node mapping, but we have to declare sub node(or sub elements) inside the link mapping in the gmfmap file but it seems there is no provision to do so for link mapping.

In our ecore file (generated from the XSD file) a link can have sub nodes that will be executed at the time of link processing.

Can anyone help us either in defining the sub nodes or changing the XSD to enable us to do so.

Regards,
Nishant
Re: How to assign the nodes with the link mapping in GMF [message #415988 is a reply to message #415986] Tue, 15 January 2008 11:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Nishant,

I'm not familiar enough with the GMF mapping process to know how to
answer this so I've added the GMF newsgroup to the reply and hope you
will get information there. I can explain the XSD changes if I
understand which Ecore structure is provided. In fact, given that you
can generate an XSD from an Ecore model (using Export... from the
Generator's menubar for the .gemodel of that .ecore), if you know the
Ecore structure that's needed, you can always export the Ecore to an XSD
to see how the corresponding schema would look...


Nishant Agrawal wrote:
> Hi All,
>
> We were in the process of defining the Graphical editor for our ecore file. we are able to declare the sub nodes inside any node mapping, but we have to declare sub node(or sub elements) inside the link mapping in the gmfmap file but it seems there is no provision to do so for link mapping.
>
> In our ecore file (generated from the XSD file) a link can have sub nodes that will be executed at the time of link processing.
>
> Can anyone help us either in defining the sub nodes or changing the XSD to enable us to do so.
>
> Regards,
> Nishant
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Saving sub model...help!
Next Topic:ordering of eContents
Goto Forum:
  


Current Time: Thu Apr 25 13:54:45 GMT 2024

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

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

Back to the top