Community
Participate
Working Groups
EMFSynchronizationContentProvider uses an AdapterFactoryContentProvider as a delegate content provider. But it seems no children can be obtained for a tree (eg. selection adjustments for logical models)
Created attachment 200321 [details] screenshot Screenshot showing no children
Benjamin, I haven't observed this bug with the tests I did on CVS, could you provide us with the steps to reproduce? I haven't yet checked out your code for the git integration :).
With the patched EGit, have two models files, one referencing the other, hit commit on the one with the reference. Do you have some example files in CVS to compare the behavior?
I have tested this just this morning on CVS, without reproducing. I will check out your current work on the eGit implementation of the logical resources; the content provider may not be fed the same "parent" from which to retrieve elements.
As far as I can see, the object for which the children should be retrieved is a @ResourceSetImpl@
(whoops) When trying to debug the content provider to check the "parent" element ... I noticed that yes, I do reproduce with CVS (angel). I wasn't looking at the right dialog. In the "selection adjustment required" dialog, I indeed don't have children for the "EMF Compare" root ... I wonder if I should really be showing that root there altogether.
Hm...yeah, wondering about that too given that we only care about file levels here. I think it would be ok to omit the node at all.
The "EMF Compare" root will not be displayed with EMF Compare 2 comparisons, and logical model support as a whole should be greatly enhanced by both the compare and EGit team's enhancements. No particular effort will be made for EMF Compare 1 on that issue.