Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:21 Go to next message
Anthony Mising name is currently offline Anthony Mising nameFriend
Messages: 4
Registered: November 2010
Junior Member
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 13:29 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 18:20 Go to previous messageGo to next message
Anthony Mising name is currently offline Anthony Mising nameFriend
Messages: 4
Registered: November 2010
Junior Member
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 12:05 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Fri Mar 29 11:41:32 GMT 2024

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

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

Back to the top