|Re: EMFCompare and RAP UI [message #1741452 is a reply to message #1741220]
||Thu, 25 August 2016 09:47
|| Philip Langer
Registered: March 2015
Location: Vienna, Austria
unfortunately, I'm not aware of anyone who has tried to use the EMF Compare UI with RAP. It is also hard to tell upfront if it would work. As you say, the EMF Compare UI mostly uses standard SWT and JFace. Most of it should hence just work. However, RAP has a few limitations regarding the SWT / JFace API, so I guess the best way would be to just try it out and see what fails and what could be adapted to make it work nicely. The EMF Compare UI also uses GC. While RAP has some support for GC as well, I'm not sure if it will support the part that the EMF Compare UI uses.
The purpose of the plug-ins org.eclipse.emf.compare.rcp and org.eclipse.emf.compare.rcp.ui is that they can be used without any dependencies to org.eclipse.ide. We recently also used those plug-ins in an E4 RCP application that has no PlatformUI.getWorkbench(). The rcp plug-ins of EMF Compare do have compile-time dependencies to the workbench, but we removed several of the run-time dependencies, so that the UI would still work even if the workbench is not available at run-time (cf. bug 473985). That should be a good starting point when trying a minimal EMF Compare UI setup with RAP.
It would be very interesting to hear about your experiences when you tried it out!
Thanks and best wishes,
Get professional Eclipse developer support:
Powered by FUDForum
. Page generated in 0.01826 seconds