[mention:6911e6cc8725416dba58ae08a80faffd:e9ed411860ed4f2ba0265705b8793d05] has developed a certainly very useful tool. (see http://www.oehive.org/ABL2DB).
In configuring this tool, he mention about how shame-ish would be to program a menu from a hardcoded fashion...
I humble accept that shame.. for 20 years I've hardcoded menus...
Never have seing another option....
Is there around some examples of a such menu system? AutoEdge uses it?
Where could I get ahold of some sample menus? doc, or disetation about these?
Thanks in advance.
also...
what I'm I doing wrong? got this:
APPL Start ABL2DB [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception: No ha sido posible encontrar la clase o interfaz com.joanju.proparse.NodeTypes. (12886) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): ** D:\cintegrity\src\com\cintegrity\ABL2DB\BuildTableLinks.cls No se ha podido comprender la linea 14. (196) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): No ha sido posible encontrar la clase o interfaz com.joanju.proparse.ProParserTokenTypes. (12886) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): ** D:\cintegrity\src\com\cintegrity\ABL2DB\BuildTableLinks.cls No se ha podido comprender la linea 15. (196) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): No ha sido posible encontrar la clase o interfaz org.prorefactor.core.JPNode. (12886) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): ** D:\cintegrity\src\com\cintegrity\ABL2DB\BuildTableLinks.cls No se ha podido comprender la linea 16. (196) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): No ha sido posible encontrar la clase o interfaz org.prorefactor.treeparser.ParseUnit. (12886) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): ** D:\cintegrity\src\com\cintegrity\ABL2DB\BuildTableLinks.cls No se ha podido comprender la linea 17. (196) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): No ha sido posible encontrar la clase o interfaz BuildTableLinks. (12886) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL SysERROR Unexpected Exception (cont.): ** D:\cintegrity\src\com\cintegrity\ABL2DB\Driver.cls No se ha podido comprender la linea 290. (196) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL CALLSTACK D:\cintegrity\src\abl2db_launcher.p at line 78 (D:\cintegrity\src\abl2db_launcher.p) [18/04/25@20:41:31.268-0500] P-017968 T-015824 1 4GL APPL End ABL2DB
and current structure is:
d:\cintegrity>tree D:. ├───.settings ├───proparse │ ├───.externalToolBuilders │ ├───.settings │ ├───data │ │ ├───appendprogram │ │ │ └───t01 │ │ │ ├───expect │ │ │ ├───orig │ │ │ └───test │ │ ├───bubble │ │ │ ├───expect │ │ │ ├───expect2 │ │ │ ├───orig │ │ │ ├───orig2 │ │ │ ├───test │ │ │ ├───test2 │ │ │ ├───x03_expect │ │ │ ├───x03_orig │ │ │ ├───x03_test │ │ │ ├───x04 │ │ │ │ ├───expect │ │ │ │ ├───orig │ │ │ │ └───test │ │ │ └───x05 │ │ │ ├───expect │ │ │ ├───orig │ │ │ └───test │ │ ├───bugsfixed │ │ ├───extractmethod │ │ │ └───t01 │ │ │ ├───expect │ │ │ ├───orig │ │ │ └───test │ │ ├───names │ │ ├───newsyntax │ │ │ ├───101b │ │ │ │ └───deep │ │ │ ├───101c102a │ │ │ ├───102b │ │ │ ├───11.4 │ │ │ ├───11.6 │ │ │ ├───11.7 │ │ │ ├───Consultingwerk │ │ │ └───prolint │ │ │ └───regrtest-oo │ │ ├───pub │ │ ├───qualifyfields │ │ │ └───t01 │ │ │ ├───expect │ │ │ ├───orig │ │ │ └───test │ │ ├───rename │ │ │ └───t01 │ │ │ ├───expect │ │ │ └───orig │ │ ├───Sports2000 │ │ │ └───Customer │ │ ├───tp01ProcessTests │ │ ├───tp01tests │ │ └───wrapprocedure │ │ └───t01 │ │ ├───expect │ │ ├───orig │ │ └───test │ ├───ikvmbin │ ├───lib │ ├───META-INF │ ├───prorefactor │ │ ├───configdump │ │ ├───projects │ │ │ ├───s2k │ │ │ ├───sports2000 │ │ │ └───unittest │ │ └───settings │ ├───resources.example │ ├───src │ │ ├───com │ │ │ └───joanju │ │ │ ├───proparse │ │ │ │ ├───sockets │ │ │ │ └───unittest │ │ │ └───scripting │ │ ├───de │ │ │ └───consultingwerk │ │ │ └───proparse │ │ │ └───refactor │ │ ├───icons │ │ ├───images │ │ ├───org │ │ │ ├───proparse │ │ │ │ └───api │ │ │ └───prorefactor │ │ │ ├───core │ │ │ │ ├───schema │ │ │ │ └───unittest │ │ │ ├───db │ │ │ ├───io │ │ │ ├───macrolevel │ │ │ ├───nodetypes │ │ │ ├───refactor │ │ │ │ ├───messages │ │ │ │ ├───settings │ │ │ │ └───unittest │ │ │ ├───reports │ │ │ ├───treeparser │ │ │ ├───treeparser01 │ │ │ ├───util │ │ │ └───widgettypes │ │ ├───proparse │ │ ├───resources │ │ └───test │ ├───src-abl │ │ └───shim-api │ │ └───proparse │ │ ├───api │ │ ├───testdata │ │ └───utilities │ └───tmp ├───run │ ├───bugsfixed │ ├───com │ │ └───cintegrity │ │ ├───ABL2DB │ │ ├───Filesystem │ │ ├───LoggingUtils │ │ └───Proparse │ │ └───TestCases │ ├───newsyntax │ │ ├───101b │ │ │ └───deep │ │ ├───101c102a │ │ ├───102b │ │ └───prolint │ │ └───regrtest-oo │ └───proparse │ └───data │ ├───appendprogram │ │ └───t01 │ │ ├───expect │ │ ├───orig │ │ └───test │ ├───bubble │ │ ├───expect │ │ ├───expect2 │ │ ├───orig │ │ ├───orig2 │ │ ├───test │ │ ├───test2 │ │ ├───x03_expect │ │ ├───x03_orig │ │ ├───x03_test │ │ ├───x04 │ │ │ ├───expect │ │ │ ├───orig │ │ │ └───test │ │ └───x05 │ │ ├───expect │ │ ├───orig │ │ └───test │ ├───bugsfixed │ ├───extractmethod │ │ └───t01 │ │ ├───expect │ │ ├───orig │ │ └───test │ ├───names │ ├───newsyntax │ │ ├───101c102a │ │ ├───102b │ │ ├───11.4 │ │ ├───11.6 │ │ └───11.7 │ ├───pub │ └───qualifyfields │ └───t01 │ └───expect └───src └───com └───cintegrity ├───ABL2DB ├───FileSystem ├───LoggingUtils └───Proparse └───TestCases
Thanks
and these are configs.
DEFINE VARIABLE chDataBaseList AS CHARACTER NO-UNDO INITIAL "TAP,SCH,DWH". DEFINE VARIABLE chLogicalDataBaseList AS CHARACTER NO-UNDO INITIAL "TAP,SCH,DWH,DICTDB". DEFINE VARIABLE chAliasList AS CHARACTER NO-UNDO INITIAL "". DEFINE VARIABLE chDataBaseConnectParams AS CHARACTER NO-UNDO INITIAL "-H s3 -S 2758 -U admin -P pf8pf8|-H s3 -S 2758|-H s3 -S 2762 -U schAS1 -P schAppS1". DEFINE VARIABLE chSchemaDirectory AS CHARACTER NO-UNDO INITIAL "d:\databases\schema". DEFINE VARIABLE chSchemaFileList AS CHARACTER NO-UNDO INITIAL "TAP,SCH,DWH,DICTDB". /* Proparse schema file is proparse.schema in chSchemaDirectory */ /* Propath needed for compile */ DEFINE VARIABLE chPropath AS CHARACTER NO-UNDO INITIAL "c:\oetap\tap,c:\oetap\sch,c:\oetap\dwh". /* Source Variables */ DEFINE VARIABLE chSourceDirectoryList AS CHARACTER NO-UNDO INITIAL "c:\oetap\tap,c:\oetap\sch,c:\oetap\dwh". DEFINE VARIABLE chRunDirectoryList AS CHARACTER NO-UNDO INITIAL "c:\oetap\tap,c:\oetap\sch,c:\oetap\dwh". DEFINE VARIABLE chXrefDirectoryList AS CHARACTER NO-UNDO INITIAL "D:\Databases\analys\xrf\tap,D:\Databases\analys\xrf\sch,D:\Databases\analys\xrf\dwh". DEFINE VARIABLE chListDirectoryList AS CHARACTER NO-UNDO INITIAL "D:\Databases\analys\lst\tap,D:\Databases\analys\lst\sch,D:\Databases\analys\lst\dwh". DEFINE VARIABLE chDebugDirectoryList AS CHARACTER NO-UNDO INITIAL "D:\Databases\analys\dbg\tap,D:\Databases\analys\dbg\sch,D:\Databases\analys\dbg\dwh". /* Other variables */ DEFINE VARIABLE chReportDestination AS CHARACTER NO-UNDO INITIAL "D:\Databases\analys\rpts". DEFINE VARIABLE chMenuFile AS CHARACTER NO-UNDO INITIAL "". DEFINE VARIABLE chMenuItemFile AS CHARACTER NO-UNDO INITIAL "". DEFINE VARIABLE chFunctionalUnitFile AS CHARACTER INITIAL "". DEFINE VARIABLE chPrimaryLog AS CHARACTER INITIAL "D:\Databases\analys\rpts\ABL2DB.lg". DEFINE VARIABLE inWhich AS INTEGER NO-UNDO.
Noticed I got this on the "Referenced Assemblies" section of project.
I followed all instruction from proparse installation, and worked ok, but the proparse.net-dll file I copy from com/joanju\proparse into root of projectshows this error on class browser
Assembly proparse.net
Location: proparse.net, Version=4.0.1.1114, Culture=neutral, PublicKeyToken=cda1b098b1034b24
Note:
This assembly is not available to the Class Browser.
The assembly could not be loaded from the global assembly cache or from the assembly directory of the project.
other 2 dlls (IKVM.openJDK.core and IKVMRuntime) won't cause error...
|
The alternative is a data driven, dynamic menu. The only examples I have are ChUI, but I am sure there are others. The data is preferrably in the database so that no code needs to be changed to change the menus. Among other things, we allowed user to create new menus for a particular job function and then place on that menu all the most commonly used functions used by a person in that job ... A/R clerk, A/P Clerk etc. This meant the user could spend 90% or more of their day on one menu, while leaving the standard menu intact.