Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Add Element to parent, when an Element is added to child
Add Element to parent, when an Element is added to child [message #1737355] Thu, 07 July 2016 14:12
Niklas Klipphahn is currently offline Niklas KlipphahnFriend
Messages: 7
Registered: July 2016
Junior Member
Hey,

my Diagram is similar to a UML Component Diagram.
I have a Container Class A which can contain multiple instances of a Container Class B. Both of these Container classes can contain Elements, which are similar to Ports.

In my model it only makes sense if Container A has the same 'ports' as all the contained Bs.
Right now the user has to do this manually.


Is there a way (I guess by changing code) to automatically add the same or a copy of an Element to A if one is added to B?

Sorry, but I'm new to GMF and the code is confusing and complex to me.

Thanks in advance.
Previous Topic:How to get all Editparts from a Sirius Diagram
Next Topic:GMF Eclipse 4 Batik dependency Problem
Goto Forum:
  


Current Time: Wed Apr 24 17:15:40 GMT 2024

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

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

Back to the top