custom creation tool for composite model [message #181285] |
Mon, 07 April 2008 19:34 |
Eclipse User |
|
|
|
Originally posted by: djacobs.modelobjects.com
I'm trying to implement a custom creation tool that will add a node for a
fully configured, composite model to a diagram. My application involves
node-models that have attached connectors that are arranged in 4 perimeter
compartments. I want to be able use a subclass of CreationTool with a
CreationFactory that uses the EMF-generated Factory to create instances of
the node-model and connector-models, hook everything together, initialize
properties, etc. That part is easy.
The problem I'm running into is that apparently it's not ok just to add a
new node-model to the top-level diagram model in a GMF-based editor.
Any pointers to the right way to approach this problem?
Thanks!
-- Dan
|
|
|
Powered by
FUDForum. Page generated in 0.03183 seconds