Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Main-Toolbar: ordering of items(How to define an order for the extending ToolItems)
icon4.gif  Main-Toolbar: ordering of items [message #1741187] Tue, 23 August 2016 11:20 Go to next message
Eclipse UserFriend
Hello all,

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).

Wrong order:
index.php/fa/26856/0/

Correct order:
index.php/fa/26857/0/

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,

Sergej
Re: Main-Toolbar: ordering of items [message #1742076 is a reply to message #1741187] Wed, 31 August 2016 03:28 Go to previous message
Eclipse UserFriend
Does no one has any idea?? Maybe any known Eclipse bug?
Previous Topic:No warning in Tooling for missing elementId
Next Topic:news.eclipse.org is shutting down.
Goto Forum:
  


Current Time: Tue Jul 08 20:29:24 EDT 2025

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

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

Back to the top