Generate figures on canvas automaticlly [message #938576] |
Wed, 10 October 2012 01:30 |
xia chao Messages: 3 Registered: October 2012 |
Junior Member |
|
|
hello,
dear all! In our e core files, there are 3 domain models, which named M1、M2、M3. And in Palette , we have configured three Creation tools named T1、T2、T3,which are corresponding to the three domain models. The relationship among the three domain models can be described as: M1 contains M2 and M2 contains M3.
Actually we have configured M1 as the Top Node and M2 as the child reference of M1 and M3 as the child reference of M2 in .gmfmap file, and draw out the figures on canvas by clicking the tool on palette and clicking on the editor.
But the result is not what we expect, because users have to click the T2 to drag into the containerT1, and click T3 to drag into the container T2. Now we want to realize this: click T1 and draw the M1 on the canvas, then automatically generate the M2 and M3,and the figure of M2 、M3 are hidden automatically, just display the figure of M1. We have tried many ways but failed. So could you please give some useful advice ?We will appreciate your help so much.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04977 seconds