Community
Participate
Working Groups
After adding the new RCP accessor to support e4 AUTs, the GEF 3 support is not available in e4 AUTs using the compat layer modus. The reason for this is, that the new RCP accessor uses the pure e4 API to name parts in the AUT. This method is used also in AUTs, which are running in compat layer modus. Currently GEF is included in the e3.specific bundle and is not startet, if the AUT runs in the compat layer modus (Juno, Kepler, Luna, ...). My local git stash contains an unfinished result to support GEF in compat layer modus. If there is time to do this, we should work further on this task.
Having discussed this internally, it's not a priority for the 7.2 release.
This might be relevant in the near upcoming future.
From creating a workaround [1] for this issue, I learned a few things that might help somebody else to implement this in Jubula. From what I understand, the e3 implementation: a) registers a part listener b) adapts an IWorkbenchPartReference to its GEF GraphicalViewer c) adds a reference to this GraphicalViewer to the SWT data of the main composite of each part (using the key GefPartListener#TEST_GEF_VIEWER_DATA_KEY) a) is already implemented in Jubula with the existing e4 processor, and c) is trivial. To implement b) we would need to adapt from an MPart to the GraphicalViewer. I'm not sure how to do that. But if somebody knows where the e3 adapter is to be found: I can imagine that the corresponding e4 adapter would look quite similar. [1] https://www.eclipse.org/forums/index.php/t/1088357/