Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Contributing UI Components from other Plug-ins
Contributing UI Components from other Plug-ins [message #480890] Tue, 18 August 2009 14:57 Go to next message
Eclipse UserFriend
If an Application.xmi file in one plug-in specifies the applications parts
(views, menus, handlers, etc), then how will other plug-ins contribute
menus/menu items and handlers to an e4 application? Is it possible for
other plug-ins to contribute these things now (similar to the commands
framework in the 3.x branch), or is this still a work in progress? If it
is still being worked on, any idea when something will be available?

Thanks,
Chris
Re: Contributing UI Components from other Plug-ins [message #480897 is a reply to message #480890] Tue, 18 August 2009 15:39 Go to previous messageGo to next message
Eclipse UserFriend
Currently the RCP product would create the Application.xmi and define references to the parts. Your main plugin would reference other plugin classes using the platform:/plugin/<plugin.id>/com.example.whatever.MyClass syntax.

The other alternative is to use the org.eclipse.e4.workbench.parts extension point. That allows you to create contributed parts using an extension point. But support for menus using extension points is currently only available in the legacy compatibility layer.

An e4 RCP app is still a work in progress, and ideas and contributions are welcome.

PW
Re: Contributing UI Components from other Plug-ins [message #562458 is a reply to message #480890] Tue, 18 August 2009 15:39 Go to previous message
Eclipse UserFriend
Currently the RCP product would create the Application.xmi and define references to the parts. Your main plugin would reference other plugin classes using the platform:/plugin/<plugin.id>/com.example.whatever.MyClass syntax.

The other alternative is to use the org.eclipse.e4.workbench.parts extension point. That allows you to create contributed parts using an extension point. But support for menus using extension points is currently only available in the legacy compatibility layer.

An e4 RCP app is still a work in progress, and ideas and contributions are welcome.

PW
Previous Topic:Contributing UI Components from other Plug-ins
Next Topic:XWT and GUI related classes in a third-party jar
Goto Forum:
  


Current Time: Wed Jul 23 08:25:52 EDT 2025

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

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

Back to the top