How to initialize the 'Reference'? [message #47274] |
Wed, 13 September 2006 11:44 |
Eclipse User |
|
|
|
Hi,
I define the domain model in the ecore file. I can map the class and its
inner reference in ecore file to node and reference children in gmfmap
file. Then I could use the generated diagram editor to add a node 'A' in
canvas and add its referenced node 'B' in its compartment.
The question is:
For some convenience I would like to add a specific 'A' in the tool
palette, e.g. when I add the specific 'A' node to canvas from tool
palette, the specific 'A''s reference has already been associated with a
specific object in its compartment.
Any hint would be appreciated and thank for advance:)
best regards,
Junyan
|
|
|
Powered by
FUDForum. Page generated in 0.02684 seconds