Mixing e3 and e4 in RAP? [message #1799940] |
Mon, 17 December 2018 17:21 |
Pablo eltrán![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=pbeltranl%40gmail.com) Messages: 20 Registered: November 2014 |
Junior Member |
|
|
Hi,
Is it possible to use a plugin built against RAP e3 in RAP e4?.
I.e:
I've compiled P2 UI with RAP e3 and works fine: I'm able to display the P2 dialogs, add third-party URL update sites, download them into some profile, etc.
Now, I've created a RAP e4 project with a Workbench and I want to invoke the P2 RAP e3 dialog above.
Well, it was not possible due to missing dependencies. I.e RAP e3 has the org.eclipse.rap.ui plugin which is not present in RAP e4. So, I created a target with RAP e3 and e4. Of course, it compiles now, but I get an NPE as there is no workbench, etc.
This does not work with RAP e4:
PlatformUI.getWorkbench().getDisplay().getActiveShell();
I've read there is a compatibility mode to run RPC e3 plugins with e4.
Is there anything similar for RAP?
Am I doing some wrong/stupid so I should just leave this and do not waste my life trying this?
Thanks,
Pablo.
[Updated on: Mon, 17 December 2018 17:22] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02870 seconds