Task #2215

Updated by Sebastien Jacquot about 2 years ago

Match the commands menu and toolbar entries ordering from 0.7.8 UI to 0.7.9 UI. Since the menu entries are now in each plug-ins, the order of appearance is done following the bundle ids order. Unfortunately the order is not based on the plug-ins start level order of the running configuration.

h3. Actual commands order

* [in progress]

h3. Solution

* use "before", "after" or "endof" argument of "locationURI" (see: http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_menus.html)
* eg. if we want to put the CAH button before the CA button in the main toolbar: toolbar:org.txm.rcpapplication.toolbartools?before=ComputeCA
* TODO: needs to check what happens if we define, for example, an "after" location targeting a plug-in that is not installed, e.g. for WordCloud: toolbar:org.txm.rcpapplication.toolbartools?after=ComputeTextsBalance
=> need to see what happens if texts balance is not installed
=> OK, checked and the command simply does not appear if the target is not existent...

Back