Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to initialize the 'Reference'?
How to initialize the 'Reference'? [message #47274] Wed, 13 September 2006 11:44
Eclipse UserFriend
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
Previous Topic:Adding custom 'default' creation tools to the palette
Next Topic:Diagram Gen Model looks pretty backwards
Goto Forum:
  


Current Time: Fri Apr 25 01:25:05 EDT 2025

Powered by FUDForum. Page generated in 0.02684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top