| Main-Toolbar: ordering of items [message #1741187]
||Tue, 23 August 2016 15:20
| Sergej Volkodav
Registered: August 2016
We are migrating our RCP client from Eclipse 3.x to Eclipse 4 with compat layer.
We had problems with contribution to the org.eclipse.ui.main.toolbar so we created new model fragments with trimContributions extending the toolbar and removing the extensions in the old plugin.xml.
We need to declare a specific order for the toolbar items, which are contributed from different plugins.
I have tried to work with the 'Position' of the TrimContribution, but it does not work for the FIRST client start (initial workspace without workbench.xmi).
When there is an existing workbench.xmi file, the ordering of the toolbar is correct (for the second / third / ... start of the client).
So my question is, how can I force Eclipse, that it orders the toolbar items correctly even if there is no workbench.xmi file?
Thanks and kind regards,
Powered by FUDForum
. Page generated in 0.01999 seconds