Contributing UI Components from other Plug-ins [message #480890] |
Tue, 18 August 2009 14:57  |
Eclipse User |
|
|
|
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 #562458 is a reply to message #480890] |
Tue, 18 August 2009 15:39  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.27481 seconds