Submit | Open tickets | Closed tickets

[ Ticket #1148 ] order of menu evaluation
Date:
06/02/11 13:42
Submitted by:
B_Fristensky
Assigned to:
Alvare
Category:
bioLegato
Priority:
5
Ticket group:
New Feature Request
Resolution:
Resolved
Summary:
order of menu evaluation
Original submission:

For bioLegato .properties file, the variable

gde.makemenus.path

governs the order in which menus are read. This variable contains a list of menu paths which are searched for a file called 'menulist'. These paths are read right to left. Thus, as each menu is read in succession, items in the new menu that have the same name as in a previous menu overwrite the previous menu items. The order of events is:

for each path in gde.menus.path {right to left}
for each line in menulist
if it's a menu
if the menu doesn't already exist
append the new menu to the end of the menu list
else {it's an item}
if item exists
overwrite existing item
else
append new item within the current menu

Example:

gde.makemenus.path=$BIRCH/local/dat/bldna:$BIRCH/dat/bldna

In this example, the 'menulist' file is read first from $BIRCH/dat/bldna, and next, from $BIRCH/local/dat/bldna. Therefore the order of the menuheadings from $BIRCH/dat/bldna are preserved.
Please log in to add comments and receive followups via email.
Followups
Comment Date By
This bug should be solved with the current test version of BioLegato (0.7.6) 06/16/11 10:35 Alvare
No results for "Dependent on ticket"
No results for "Dependent on Task"
No other tickets are dependent on this ticket
Ticket change history
Field Old value Date By
status_id Open 10/09/11 13:56 B_Fristensky
close_date 12/31/69 19:00 10/09/11 13:56 B_Fristensky
resolution_id Not Resolved 06/16/11 10:35 Alvare
status_id Pending 06/02/11 13:42 B_Fristensky
assigned_to unset 06/02/11 13:42 B_Fristensky
resolution_id Unset 06/02/11 13:42 B_Fristensky

© 1998-2025 Scilico, LLC. All rights reserved.