Task #2215

Match the commands menu and toolbar entries order from 0.7.9 UI to 0.8 UI

Added by Sebastien Jacquot almost 2 years ago. Updated 4 months ago.

Status:Closed Start date:06/07/2017
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Development Spent time: -
Target version:TXM 0.8.0a (split/restructuration)

Description

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.

Actual commands order

  • [in progress]

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

History

#1 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#6 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot about 1 year ago

  • Subject changed from Match the commands menu and toolbar entries order from 0.7.8 UI to 0.7.9 UI to Match the commands menu and toolbar entries order from 0.7.9 UI to 0.8 UI

#8 Updated by Matthieu Decorde 6 months ago

  • % Done changed from 0 to 80

#9 Updated by Sebastien Jacquot 4 months ago

  • Status changed from New to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF