New RCP / Integration into legacy RCP / Which approach? [message #904037] |
Mon, 27 August 2012 11:52  |
Eclipse User |
|
|
|
Hi folks,
I'm just starting off with the development of a new RCP application for my company.
At the first step it should be a stand-alone application but later we'll have to integrate its perspective into an existing (large) RCP which is currently based on 3.x.
I would really prefer to build the new RCP as pure e4 but I'm not sure whether this is a good decision or not. On the one hand I do not need any of the existing views except for a navigator which I could implement on my own. On the other hand I have already read all the stuff out there regarding compatibility layer and so on and still I am not sure what to do since many sources say that mixing of Eclipse 4 with 3.x components is not supported very well.
With the next version we will begin with the migration of our old (and large) RCP but in the beginning we will be required to run it in compat. mode.
So, could anyone give me an advice for which strategy I should follow?
Thanks a lot in advance.
Cheers,
Matthias
|
|
|
|
|
|
Re: New RCP / Integration into legacy RCP / Which approach? [message #904525 is a reply to message #904430] |
Tue, 28 August 2012 11:51   |
Eclipse User |
|
|
|
Thanks for the replies so far.
@JD
The new RCP will be rather view oriented than "input oriented". There will be some things the user has to configure but the main part is monitoring of data (with user interaction).
I'm sure that the new application itself would work quite well with e4, even if I had to implement my own navigator. But the integration into our old RCP would give some headaches I think.
As far as I know, the compatibility layer only enables us to bring our old ViewParts which are defined as extensions into the new application model.
But I would end up having a new E4 based RCP which should be integrated into an old one that runs in compat. mode.
And I have often read that mixing is not supported very well. What does that mean? Are there some hidden bugs?
Furthermore I was not able to contribute a Part via a Model Fragment into the existing (LegacyIDE) application model when running in compat. mode up to now. Is this one of the cases that is not supported very well?
@Brian
The answer does not seem to be so simple - at least for me 
Which application do you mean? The new one or the old one?
What do you mean with "you can't easily do..."? For me it means that it works, but not straight-forward.
Just to get you right: let's say I'm done with a new, pure E4 application. It has its own application model which defines Commands, Handlers, Bindings, Menus, a Perspective Stack with a Perspective and some PartStacks with their Parts.
The parts are implemented in the new way: POJO's with DI (@PostConstruct, and so on...)
In the meantime the old RCP runs on top of E4 in compatibility mode. Is it now possible to integrate the perspective with all its children from the new E4 application into the old one? Of course this should also work with the commands and handlers and so on.
I still can't get that...
Thank you guys a lot
Matthias
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.12839 seconds