Community
Participate
Working Groups
I have created a service class (CompareServices) to provide two methods to open an emf compare editor and to select the differences related to the given model object identifiers: + void openEditor(final CompareEditorInput input, List<String> objectIds). -> Open editor from a CompareEditorInput (may be a SaveablesCompareEditorInput, GitCompareEditorInput...) and a set of model object identifiers to select the related differences during editor opening. + void initSelection(List<String> objectIds, IEditorPart editor) -> Realize the selection of the differences related to the given set of model object identifiers and an existing CompareEditor. You can find the patch in attachments.
Created attachment 204290 [details] Open editor with selection API
Thanks, this enhancement has now been pushed on master.