Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » custom creation tool for composite model
custom creation tool for composite model [message #181285] Mon, 07 April 2008 19:34
Eclipse UserFriend
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
Previous Topic:Any known issues with ICommandProxy(setPropCommand)?
Next Topic:How to use setLocation
Goto Forum:
  


Current Time: Thu Apr 25 01:15:21 GMT 2024

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

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

Back to the top