Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » How do I glue a 3.x plugin into e4(I want to add the CNF and xText plugin into e4)
How do I glue a 3.x plugin into e4 [message #636896] Wed, 03 November 2010 05:21 Go to next message
Eclipse UserFriend
I'm very impressed with E4 and have started working on a rcp application. One of the first thing I want to do is bring in a Package explorer and link a file to a xtext editor. But I've hit a road block.
I can't see how this is done. I've tried declaring the plugins as a extention, but I am at a loss as to how to plumb it into the application model.

I looked at using Fragments as extension points to plumb in the 3.x plugins.

Can anyone help clarify if this can be done in the first place, if so what approaches are available.

Kind Regards
Anthony
Re: How do I glue a 3.x plugin into e4 [message #636940 is a reply to message #636896] Wed, 03 November 2010 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Right now, the only way to do that is to launch the compatibility
workbench (4.1). Then you have to figure out how to host e4 parts in
the compatibility layer. Tom Schindl's Workbench Model Editor does this
by providing a 3.x bridge to work with.

In M4/M5, we hope to invert the dependencies in and provide something
that works more like an e4 app, and the compatibility layer only comes
into play to host the one or two 3.x plugins that you include.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Re: How do I glue a 3.x plugin into e4 [message #637009 is a reply to message #636940] Wed, 03 November 2010 14:20 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for the quick reply. Can you tell me how and where the bridge is configured and how to launch the compatibility workbench.
Thanks again for your help.
Kind regards
Anthony
Re: How do I glue a 3.x plugin into e4 [message #637405 is a reply to message #637009] Fri, 05 November 2010 08:05 Go to previous message
Eclipse UserFriend
Anthony wrote:
> Thank you for the quick reply. Can you tell me how and where the bridge
> is configured and how to launch the compatibility workbench. Thanks
> again for your help.

Right now to test it out, you would launch your regular RCP app from the
4.1 SDK. That would use the compatibility layer + org.eclipse.e4.rcp

Try it out. But it might not work ATM, as I recall some a couple of
bugs. One that comes to mind is that you might have to create a product
and supply the applicationXMI/applicationCSS (copied from somewhere useful).

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:ComboViewer trigger selection
Next Topic:[XWT] ToolItem.enabled with MultiBinding
Goto Forum:
  


Current Time: Mon Jul 07 10:56:57 EDT 2025

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

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

Back to the top