Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsElement addition should be refined by References set
https://www.eclipse.org/forums/index.php/mv/msg/474696/1039637/#msg_1039637
A
+- B
+- C
(So here, A contains B and C)
If then I have
A
+- B <---+
+- C |
+- D ----+
+- E
+- F
(D, containing E and F, is added, and this D has a reference to B)
then I make a comparison, I will see 4 changes (if I well understood):
- Add D in A
- Add E in E
- Add F in F
- Set reference from D to B
For each addition, I won't have an AttributeChange for setting the attributes of each element added, but I will have a ReferenceChange for setting the reference from D to B. I understand that it's needed in order to be able to detect a conflict with a B deletion for instance (or an dependency with the B addition if B didn't exist before). But I would have think that, as E and F addition are refining D addition, this reference set should be refining the D addition. Instead of that, the required link is used.
What I firstly understood with the refine link is that it means that changes refining another change are like sub-parts of this change. And the containment as references should be part of the addition I think, not some of them (containment reference) a part while others are only related (simple reference).]]>Guillaume P.2013-04-12T11:41:20-00:00Re: Element addition should be refined by References set
https://www.eclipse.org/forums/index.php/mv/msg/474696/1039649/#msg_1039649
Guillaume P.2013-04-12T11:59:32-00:00