How to model connections with containment references [message #555906] |
Mon, 30 August 2010 08:01 |
ModelingNewbie Messages: 7 Registered: August 2010 |
Junior Member |
|
|
Hi,
I have a domain model consisting of Nodes and Connections where each connection may contain several Parameters (String, value pairs). For this model I want to create a GMF Editor that makes it possible to put/attach such parameters to a connection. So far, I have a GMF Editor that is able to model Nodes (GMF Node) and connect it by using Connections (GMF Connection).
My question is about a good way to represent parameters graphically (e.g. attached to the connection) and what elements are needed in the GMF tool, graph and mapping model.
My first attempt was to model a Parameter as GMF phantom node but it doesn't work because to my understanding phantom nodes works only for NodeMappings in the mappinng model. However, the Connection is a Link mapping.
Are there any suggestions?
Thanks
Hermann
|
|
|
Powered by
FUDForum. Page generated in 0.03621 seconds