Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » complex link mapping
complex link mapping [message #894614] Mon, 09 July 2012 15:54 Go to next message
Matthias N is currently offline Matthias N
Messages: 65
Registered: June 2012
Member
Hi,
I have to deal with a very complex link mapping. I wanted to know if it is possible with GMF without touching the generated code:

- A FunctionType has several Ports
- A FunctionType can have a FunctionConnector
- The FunctionConnector connects two ports

(see attached image)


But in my case, I have a intermediate class "FunctionConnector_port". So my linkmapping can't directly reference FunctionPort. Instead the linkmapping has to use the intermediate class "FunctionConnector_port", and from FunctionConnector_port I can reference the desired port.


Is the FunctionConnector link mapping possible with GMF ?!
  • Attachment: link.png
    (Size: 36.33KB, Downloaded 77 times)

[Updated on: Mon, 09 July 2012 15:55]

Report message to a moderator

Re: complex link mapping [message #894698 is a reply to message #894614] Tue, 10 July 2012 04:00 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

do you have an example how the concrete syntax shall look like?

Ralph
Previous Topic:How to execute an action after the diagram is loaded or a connection/link is deleted
Next Topic:Save/Load model from RCP application
Goto Forum:
  


Current Time: Wed Aug 27 15:17:07 EDT 2014

Powered by FUDForum. Page generated in 0.16383 seconds