|
| Re: [EOL, Ecore2GMF.eol] How duplicate GmfMap!NodeMapping? [message #585759 is a reply to message #585728] |
Fri, 05 February 2010 18:04  |
Dimitrios Kolovos Messages: 1772 Registered: July 2009 |
Senior Member |
|
|
Hi Alvaro,
Are you creating these NodeMappings programmatically? If so, you may
want to define an operation for each one of them so that you can call
them multiple times. e.g.
operation createNodeMapping() : GmfMap!NodeMapping {
var nm : new GmfMap!NodeMapping;
...
// Populate the node mapping here
...
return nm;
}
Would that be an option?
Cheers,
Dimitris
ajimenezr wrote:
> Hello everyone!
>
> I'm developing a GMF editor using EuGENia (Ecore2GMF.eol). I need to
> duplicate some complex NodeMapping (they include compartments,
> childreferences and labels).
> I have already read this post about it:
> http://www.eclipse.org/forums/index.php?t=msg&th=125673& amp;start=0&
>
> but I have some NodeMappings that are very complex to copy their
> elements one-by-one,so: Are there another option to duplicate a
> GmfMap!NodeMapping (or either element)?
>
>
> Thanks, Álvaro Jiménez Rielo
> Student (Rey Juan Carlos University - Madrid)
|
|
|
Powered by
FUDForum. Page generated in 0.10426 seconds