How to assign the nodes with the link mapping in GMF [message #415986] |
Tue, 15 January 2008 07:05 |
Eclipse User |
|
|
|
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 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds