Automatically add child-nodes upon creation [message #1053465] |
Mon, 06 May 2013 03:01  |
Eclipse User |
|
|
|
Hi all,
I was wondering if it is possible to when I create a node in the diagram I by default create a child-node as well?
The way it looks now I create an Object and I have to add a child-node ObjectData to it before saving (because of XText grammar require the child-node). But I was wondering if I can maybe type in the ECore2GMF file, the emf file or something similar that when I create a Object node it will also generate a ObjectData node inside it?
(The reason I have constructed it like this is so that I can minimize all the data and only show the Objects label for a better overview when I have many objects)
Thanks for any help
Write you later / Mårten
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.19475 seconds