e4 how to contribute to the workbench main menu and toolbar. [message #1107382] |
Thu, 12 September 2013 06:14  |
Eclipse User |
|
|
|
Hi,
What is the best way to contribute to the workbench main toolbar and
menu for an e3 application using the e4 workbench?
I have the e4 compatability layer loaded, so not my own e4 UI model to
tweak.
Can I find an example somewhere?
Thank You, Christophe Bouhier
|
|
|
|
Re: e4 how to contribute to the workbench main menu and toolbar. [message #1108003 is a reply to message #1107635] |
Fri, 13 September 2013 03:38  |
Eclipse User |
|
|
|
On 12-09-13 20:13, Eric Moffatt wrote:
>
> If you're using the compatibility layer you are most likely best off to use
> the existing extension points; 'org.eclipse.ui.menus' &
> 'org.eclipse.ui.handlers'
Thanks Eric, I managed to get the programmatically contributed actions
with the compat layer. (See my previous email on this).
>
> While we are working towards a better 'mix in' story where you could
> contribute
Can you elaborate, is there a bug number?
I also read here and there people copying the legacyIDE.e4xml and
contributing to it, is this also a real option or pehaps a bit of a hack?
BTW, I bundled in the live editor and something surprised me. The e4 UI
model contains many definitions (Binding Context, Commands) for bundles
which aren't part of my app. Is the model static or partly static?
I read the model was dynamically build based on plugin.xml contributions
(For loaded plugins).
Now this makes me think of something else, what is the relation between
bundle lifecycle (Active, Loaded etc..) and the state of the UI model
for the compat layer? Will a lazy loaded bundled also be weaved into the
UI model?
Sorry for the many questions..
> via model fragments / processors we're not quite there yet.
>
Thx Christophe
|
|
|
Powered by
FUDForum. Page generated in 0.04529 seconds