From 629d1357db655fe3bb3e1657498f797ee0ec0405 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 12 May 2024 08:13:05 +0200 Subject: [PATCH] more salv scaffolding --- package.json | 2 +- src/salv/cl_salv_column_list.clas.abap | 20 ++++++++++++++++++++ src/salv/cl_salv_column_table.clas.abap | 7 +++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 src/salv/cl_salv_column_list.clas.abap create mode 100644 src/salv/cl_salv_column_table.clas.abap diff --git a/package.json b/package.json index f23d1bd..b7e91d1 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.108.2", + "@abaplint/cli": "^2.108.4", "@abaplint/runtime": "^2.8.24", "@abaplint/database-sqlite": "^2.8.0", "@abaplint/transpiler-cli": "^2.8.24" diff --git a/src/salv/cl_salv_column_list.clas.abap b/src/salv/cl_salv_column_list.clas.abap new file mode 100644 index 0000000..8859ae1 --- /dev/null +++ b/src/salv/cl_salv_column_list.clas.abap @@ -0,0 +1,20 @@ +CLASS cl_salv_column_list DEFINITION PUBLIC INHERITING FROM cl_salv_column. + PUBLIC SECTION. + METHODS set_icon + IMPORTING + value TYPE abap_bool DEFAULT abap_true. + + METHODS set_cell_type + IMPORTING + value TYPE any OPTIONAL. +ENDCLASS. + +CLASS cl_salv_column_list IMPLEMENTATION. + METHOD set_cell_type. + RETURN. " todo, implement method + ENDMETHOD. + + METHOD set_icon. + RETURN. " todo, implement method + ENDMETHOD. +ENDCLASS. \ No newline at end of file diff --git a/src/salv/cl_salv_column_table.clas.abap b/src/salv/cl_salv_column_table.clas.abap new file mode 100644 index 0000000..12f7f54 --- /dev/null +++ b/src/salv/cl_salv_column_table.clas.abap @@ -0,0 +1,7 @@ +CLASS cl_salv_column_table DEFINITION PUBLIC INHERITING FROM cl_salv_column_list. + PUBLIC SECTION. + +ENDCLASS. + +CLASS cl_salv_column_table IMPLEMENTATION. +ENDCLASS. \ No newline at end of file