Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Compatibility layer E4 RCP and old plugins ?(old plug-in UI contributions , E4 applciations)
Compatibility layer E4 RCP and old plugins ? [message #551670] Mon, 09 August 2010 02:39 Go to next message
Eclipse UserFriend
Hi,

Compatibility layer is, for now, available in eclipse CVS. There is no release about that... And make a E4 application including old plug-ins with contributing UI is convoluted (see http://wiki.eclipse.org/E4/Compatibility/Running_the_compati bility_layer). Compatibility layer seems not to be meant to be used by eclipse application developpers...

When will it be possible to include old plug-ins in E4 application in a good way ?

Chris.

[Updated on: Mon, 09 August 2010 02:40] by Moderator

Re: Compatibility E4 RCP and old plugins ? [message #551680 is a reply to message #551670] Mon, 09 August 2010 03:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Not sure which compat layer you are talking about because in fact there
are 2:
* org.eclipse.ui.workbench: The backwards compat layer which allows 3.x
plug-ins to live in an 4.x application
* org.eclipse.e4.tools.compat: A forward compat layer which allows to
run 4.x components in an 3.x application

The only way to run your old plug-ins in an 4.0 Application is to
inculde org.eclipse.ui.workbench and modify your project like described
in this bug [1].

On the release of those 2 bundles:
* org.eclipse.ui.workbench is the part of the 4.0 SDK so that JDT/PDE
runs unmodified => Probably what you want

* org.eclipse.e4.tools.compat is part of the ModelTooling feature to
enable running the modeltooling in 3.x SDK, 4.x SDK and 4.0
Application Platform => currently only driven by my personal needs in
the ModelTooling space and so not very feature rich yet.

Tom

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=317912

Am 09.08.10 08:39, schrieb Chris:
> Hi,
>
> Compatibility layer is, for now, available in eclipse CVS. There is no
> release about that... And make a E4 application including old plug-ins
> with contributing UI is convoluted. Compatibility layer seems not to be
> meant to be used by eclipse application developpers...
>
> When will it be possible to include old plug-ins in E4 application in
> a good way ?
> Chris.
Re: Compatibility E4 RCP and old plugins ? [message #551728 is a reply to message #551680] Mon, 09 August 2010 07:24 Go to previous messageGo to next message
Eclipse UserFriend
I was interested in :
* org.eclipse.ui.workbench is the part of the 4.0 SDK so that JDT/PDE
runs unmodified

Thank you for your help.
Re: Compatibility E4 RCP and old plugins ? [message #551756 is a reply to message #551728] Mon, 09 August 2010 09:18 Go to previous messageGo to next message
Eclipse UserFriend
It works !
Re: Compatibility E4 RCP and old plugins ? [message #551784 is a reply to message #551756] Mon, 09 August 2010 10:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi Chris,

That sounds good. Please note that there are probably still things
missing because the main focus for 4.0 was to have the SDK (JDT/PDE)
running so there might be missing things for RCP-Applications.

Tom

Am 09.08.10 15:18, schrieb Chris:
> It works !
Re: Compatibility E4 RCP and old plugins ? [message #551900 is a reply to message #551784] Tue, 10 August 2010 01:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tom,

Ok for the limitations. My application is tiny so I don't think it will be a problem... I hope !

I have a little question about how works this compatibility layer. I am a bit curious ! Does this layer scan contributions and update EMF model according to ? Does the compatibilty is an adapter between old mechanism based on contributions and new mechanism based on EMF model ?

I had a look at LegacyIDE.e4xmi but I didn't really understand...

Thank you.

Chris.

[Updated on: Tue, 10 August 2010 01:58] by Moderator

Re: Compatibility E4 RCP and old plugins ? [message #551955 is a reply to message #551900] Tue, 10 August 2010 05:12 Go to previous message
Eclipse UserFriend
Hi,

Well the compat-layer is translating everything coming in through
extension points (views,editors,menus,...) into the our application
model but not only those things - those done programmatically e.g. in
the ActionBarAdvisor, Perspective-Factories are translated into our
EMF-Model. Looking at the LegacyIDE.e4xmi is less interesting because
the above translation is happing at runtime.

I'm myself not really familiar with the inner workings of the
compat-layer so I can't give you more detailed informations :-)

If you are interested in what all those things result into and you have
the E4 Tooling installed you can hit: ALT+SHIFT+F9 and a dialog will
popup showing you the complete workbench model making up your currently
running IDE (you can even make modifications and/or observe how the
model changes when you work with the Eclipse 4.0 Workbench).

Tom

Am 10.08.10 07:57, schrieb Chris:
> Hi Tom,
> Ok for the limitations. My application is tiny so I don't think it will
> be a problem... I hope !
> I have a little question about how works this compatibility layer. I am
> a bit curious ! Does this layer scan contributions and update EMF model
> according to ? Does the compatibilty is an adpater between old mechanism
> based on contributions and new mechanism based on EMF model ?
>
> I had a look at LegacyIDE.e4xmi but I didn't really understand...
>
> Thank you.
>
> Chris.
>
>
Re: Compatibility E4 RCP and old plugins ? [message #580216 is a reply to message #551680] Mon, 09 August 2010 07:24 Go to previous message
Eclipse UserFriend
I was interested in :
* org.eclipse.ui.workbench is the part of the 4.0 SDK so that JDT/PDE
runs unmodified

Thank you for your help.
Re: Compatibility E4 RCP and old plugins ? [message #580235 is a reply to message #580216] Mon, 09 August 2010 09:18 Go to previous message
Eclipse UserFriend
It works !
Re: Compatibility E4 RCP and old plugins ? [message #580278 is a reply to message #551756] Mon, 09 August 2010 10:12 Go to previous message
Eclipse UserFriend
Hi Chris,

That sounds good. Please note that there are probably still things
missing because the main focus for 4.0 was to have the SDK (JDT/PDE)
running so there might be missing things for RCP-Applications.

Tom

Am 09.08.10 15:18, schrieb Chris:
> It works !
Re: Compatibility E4 RCP and old plugins ? [message #580296 is a reply to message #551784] Tue, 10 August 2010 01:57 Go to previous message
Eclipse UserFriend
Hi Tom,

Ok for the limitations. My application is tiny so I don't think it will be a problem... I hope !

I have a little question about how works this compatibility layer. I am a bit curious ! Does this layer scan contributions and update EMF model according to ? Does the compatibilty is an adpater between old mechanism based on contributions and new mechanism based on EMF model ?

I had a look at LegacyIDE.e4xmi but I didn't really understand...

Thank you.

Chris.
Re: Compatibility E4 RCP and old plugins ? [message #580329 is a reply to message #580296] Tue, 10 August 2010 05:12 Go to previous message
Eclipse UserFriend
Hi,

Well the compat-layer is translating everything coming in through
extension points (views,editors,menus,...) into the our application
model but not only those things - those done programmatically e.g. in
the ActionBarAdvisor, Perspective-Factories are translated into our
EMF-Model. Looking at the LegacyIDE.e4xmi is less interesting because
the above translation is happing at runtime.

I'm myself not really familiar with the inner workings of the
compat-layer so I can't give you more detailed informations :-)

If you are interested in what all those things result into and you have
the E4 Tooling installed you can hit: ALT+SHIFT+F9 and a dialog will
popup showing you the complete workbench model making up your currently
running IDE (you can even make modifications and/or observe how the
model changes when you work with the Eclipse 4.0 Workbench).

Tom

Am 10.08.10 07:57, schrieb Chris:
> Hi Tom,
> Ok for the limitations. My application is tiny so I don't think it will
> be a problem... I hope !
> I have a little question about how works this compatibility layer. I am
> a bit curious ! Does this layer scan contributions and update EMF model
> according to ? Does the compatibilty is an adpater between old mechanism
> based on contributions and new mechanism based on EMF model ?
>
> I had a look at LegacyIDE.e4xmi but I didn't really understand...
>
> Thank you.
>
> Chris.
>
>
Previous Topic:Selection dialogs initially empty
Next Topic:e4: Find a placeholder
Goto Forum:
  


Current Time: Tue Jul 08 08:19:12 EDT 2025

Powered by FUDForum. Page generated in 0.06641 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top