Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to model connections with containment references
How to model connections with containment references [message #555906] Mon, 30 August 2010 08:01
ModelingNewbie is currently offline ModelingNewbieFriend
Messages: 7
Registered: August 2010
Junior Member

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?

Previous Topic:Draw rectangle on canvas and attach elements to it
Next Topic:GMF detailled section in properties view for references
Goto Forum:

Current Time: Fri Apr 19 16:44:10 GMT 2024

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

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

Back to the top