Custom GMF mapping for links [message #642931] |
Fri, 03 December 2010 11:51 |
Kalin Nakov Messages: 6 Registered: October 2010 |
Junior Member |
|
|
Greetings,
I have two graphical nodes, A and B. I want to connect them with a graphical
link (UML composition), indicating the containment relationship between A
and B and thus mapped to the containment EReference from the underlying EMF
model. I have my custom code generators and use the GMF runtime directly. I
have some progress with the implementation, but I am not sure if custom
mapping is supported by GMF at all. I am afraid I introduce too many hacks
in the code.
As far as I am aware, GMF requires a semantic element bound to the GMF Edge
with from & to EStructuralFeatures, which is not the case in my application.
For containment, GMF provides compartments and they work fine, but I want to
express the containment using UML composition links.
Is this possible? Are there some guidelines which I could follow to
implement such custom mapping?
Thanks in advance,
Kalin
|
|
|
|
Powered by
FUDForum. Page generated in 0.02507 seconds