I'm trying to capture the selections from the EMF CompareEditor. I've launched it like this:
ModelCompareEditorInput modelCompareInput = new ModelCompareEditorInput((snapshot));
My ISelectionListeners in my other views see only a single selection change event when the editor is launched.
I'd like to drive the selections of some of my views based on the selected diffs in the compare editor.
Tried searching Google for an hour or so and couldn't really find anything. The editor seems to be registered somehow as a selection provider since I'm getting at least one fire, but it doesn't fire selection changes when I advance through the differences.
The editor that is opened is the CompareEditor, from org.eclipse.compare. EMF Compare only adds its own viewers in that editor and does not register more selection providers. However, selection of differences in the top viewer (the structural differences tree) should properly fire selection events. Selections in the bottom pane (the two/three viewers for left, right and optional ancestors) do not.