Project

General

Profile

menu_generator.xml_3469a_rev_11234.patch

Constantin Asofiei, 03/08/2018 03:50 PM

Download (1.56 KB)

View differences:

rules/convert/menu_generator.xml 2018-03-08 20:45:49 +0000
5 5
** Module   : menu_generator.xml
6 6
** Abstract : Generates MENU code.
7 7
**
8
** Copyright (c) 2015-2017, Golden Code Development Corporation.
8
** Copyright (c) 2015-2018, Golden Code Development Corporation.
9 9
**
10 10
** _#_ _I_ __Date__ ____________________________Description_____________________________
11 11
** 001 VIG 20141101 Initial version.
......
17 17
**                  procedure name and postfix is a "Menu" or "SubMenu".
18 18
** 005 OM  20150918 Fixed historical/java names.
19 19
** 006 VIG 20160621 Added labels collection to uiStrings file.
20
** 008 CA  20180308 Fixed classname conversion - it was using an aready converted javaname 
21
**                  instead of the legacy name, so it was not converting properly.
20 22
*/
21 23
-->
24

  
22 25
<!--
23 26
** This program is free software: you can redistribute it and/or modify
24 27
** it under the terms of the GNU Affero General Public License as
......
625 628
 
626 629
         <rule>true
627 630
            <action>
628
               classname = sprintf("%s%s%s", baseClass, names.convert(javaname, names.class, null), clspfx)
631
               classname = sprintf("%s%s%s", 
632
                                   baseClass,
633
                                   names.convert(getNoteString("name"), names.class, null),
634
                                   clspfx)
629 635
            </action>
630 636
             
631 637
            <action>extends = sprintf("%s%s", clspfx, "Definition")</action>