Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to display aggregate relations via links (like in UML diagrams)
How to display aggregate relations via links (like in UML diagrams) [message #199409] Tue, 29 July 2008 15:34 Go to next message
Eclipse UserFriend
Originally posted by: florin.botis.gmail.com

Hi all,

For example I have these classes: Root<>---------A<>---------B. I know
how to create a gmf editor to represent the aggregation via compartments but
i don't know how i can do it via connections.

PS: I have a big xsd witch cannot be changed...so the aggregation relations
are predefined.




Best regards,
Florin
Re: How to display aggregate relations via links (like in UML diagrams) [message #199518 is a reply to message #199409] Wed, 30 July 2008 09:07 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Florin,

Try defining top-level mapping for element B without any ContainmentFeature
specified + Link mapping using containment reference from A to B as a LinkMetaFeature.
As a result you should be able to create Top-Level diagram nodes "B" and
link them with the corresponding container (A) using this link.

-----------------
Alex Shatalin
Previous Topic:scalable polygon transparent
Next Topic:using EOperation inside GMF
Goto Forum:
  


Current Time: Tue Apr 23 17:09:29 GMT 2024

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

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

Back to the top