|
|
Re: Migrating RCP application with multiple perspectives to e4 [message #800090 is a reply to message #799163] |
Thu, 16 February 2012 17:21 |
Greg Babcock Messages: 53 Registered: July 2009 |
Member |
|
|
Thanks Lars, but this is helpful, but what I am looking for.
I am assuming that Eclipse 4.2 is using E4AP because you can look at the live model, but you can't for application running under compatibility mode.
I adding a 3.x plugin to a E4AP project to see what was automatically adapted, and noticed Commands are added to the live model, but not Menus, Views, or Perspectives. Which brought me to the conclusion that some custom code was required for the JDT and other UI projects to work with 4.2.
In the absence documentation (which I understand is normal at this state of product development) it would be useful to look at how another project interfaced to the E4AP. Given the size of the code base, I would be very appreciative if someone would save me and everyone else reading this forum a lot of time by pointing to a starting place in the code.
Regards,
GB
|
|
|
|
Re: Migrating RCP application with multiple perspectives to e4 [message #800239 is a reply to message #800090] |
Thu, 16 February 2012 21:10 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Yes 4.2 is using E4AP under the covers - the team has rewritten
org.eclipse.ui.workbench to call the E4AP that's exactly the compat mode
you are talking about.
So you can look at the live model in compat mode the Eclipse 4.2 SDK
(together with JDT/PDE) is running on it.
If you add 3.x plugins you need to launch your application with compat
mode to get Views, Editors, ... recognized. IIRC the commands are
translated by the E4AP by default because the command handler system of
e4 is built on top of the old one.
Tom
Am 16.02.12 18:21, schrieb Greg Babcock:
> Thanks Lars, but this is helpful, but what I am looking for.
> I am assuming that Eclipse 4.2 is using E4AP because you can look at the
> live model, but you can't for application running under compatibility
> mode.
> I adding a 3.x plugin to a E4AP project to see what was automatically
> adapted, and noticed Commands are added to the live model, but not
> Menus, Views, or Perspectives. Which brought me to the conclusion that
> some custom code was required for the JDT and other UI projects to work
> with 4.2.
> In the absence documentation (which I understand is normal at this state
> of product development) it would be useful to look at how another
> project interfaced to the E4AP. Given the size of the code base, I
> would be very appreciative if someone would save me and everyone else
> reading this forum a lot of time by pointing to a starting place in the
> code.
>
> Regards,
>
> GB
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03413 seconds