|
|
|
Re: Where mapping definition elements explaint? [message #756548 is a reply to message #756248] |
Mon, 14 November 2011 09:27 |
|
> I would like to know more about how to achieve this:
> Quote:
>> Use same creation tool to create various diagram elements
>> Multiple mappings can point to same tool definition in the .gmftool
>> model. Transformation (.gmfmap -> .gmfgen) is smart enough to
>> recognize this case and creates only one tool capable of creating
>> several metamodel types. It's not possible to use the same tool to
>> create both nodes and links, however.
In your .gmfmap, when you create a node mapping, the node mappong
contains a "create tool" attibute, that links to an entry in your
palette (.gmftool).
You can simply use the same palette entry for several node mappings, it
will work.
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.04205 seconds