From 15f6b1df29030754a986f38c12e6dfbd71198d5b Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Sun, 8 Sep 2024 00:31:11 +0200 Subject: [PATCH] delete deprecated samples (#355) --- src/z2ui5_cl_demo_app_000.clas.abap | 22 ------ src/z2ui5_cl_demo_app_007.clas.abap | 101 ---------------------------- src/z2ui5_cl_demo_app_007.clas.xml | 16 ----- 3 files changed, 139 deletions(-) delete mode 100644 src/z2ui5_cl_demo_app_007.clas.abap delete mode 100644 src/z2ui5_cl_demo_app_007.clas.xml diff --git a/src/z2ui5_cl_demo_app_000.clas.abap b/src/z2ui5_cl_demo_app_000.clas.abap index 521af578..c5f5c963 100644 --- a/src/z2ui5_cl_demo_app_000.clas.abap +++ b/src/z2ui5_cl_demo_app_000.clas.abap @@ -2071,28 +2071,6 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION. class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ). - panel = page->panel( - expandable = abap_false - expanded = abap_true - headertext = `Deprecated` - ). - panel->message_strip( `Running out of maintenance....` ). - - panel->generic_tile( - header = 'Message Manager & Validation' - subheader = `Constraints & Format Options` - press = client->_event( 'Z2UI5_CL_DEMO_APP_084' ) - mode = 'LineMode' - class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' - ). - - panel->generic_tile( - header = 'Tree Table with Template' - press = client->_event( 'Z2UI5_CL_DEMO_APP_007' ) - mode = 'LineMode' - class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' - ). - panel = page->panel( expandable = abap_false expanded = abap_true diff --git a/src/z2ui5_cl_demo_app_007.clas.abap b/src/z2ui5_cl_demo_app_007.clas.abap deleted file mode 100644 index 7a9f4921..00000000 --- a/src/z2ui5_cl_demo_app_007.clas.abap +++ /dev/null @@ -1,101 +0,0 @@ -CLASS Z2UI5_CL_DEMO_APP_007 DEFINITION - PUBLIC - FINAL - CREATE PUBLIC . - - PUBLIC SECTION. - - INTERFACES Z2UI5_if_app. - - TYPES: BEGIN OF ts_tree_row_base, - object TYPE string, - col2 TYPE string, - col3 TYPE string, - col4 TYPE string, - END OF ts_tree_row_base. - - TYPES BEGIN OF ts_tree_level3. - INCLUDE TYPE ts_tree_row_base. - TYPES END OF ts_tree_level3. - - TYPES tt_tree_level3 TYPE STANDARD TABLE OF ts_tree_level3 WITH KEY object. - - TYPES BEGIN OF ts_tree_level2. - INCLUDE TYPE ts_tree_row_base. - TYPES categories TYPE tt_tree_level3. - TYPES END OF ts_tree_level2. - - TYPES tt_tree_level2 TYPE STANDARD TABLE OF ts_tree_level2 WITH KEY object. - - TYPES BEGIN OF ts_tree_level1. - INCLUDE TYPE ts_tree_row_base. - TYPES categories TYPE tt_tree_level2. - TYPES END OF ts_tree_level1. - - TYPES tt_tree_level1 TYPE STANDARD TABLE OF ts_tree_level1 WITH KEY object. - - DATA mt_tree TYPE tt_tree_level1. - DATA check_initialized TYPE abap_bool. - - PROTECTED SECTION. - PRIVATE SECTION. -ENDCLASS. - - - -CLASS Z2UI5_CL_DEMO_APP_007 IMPLEMENTATION. - - - METHOD Z2UI5_if_app~main. - - IF check_initialized = abap_false. - check_initialized = abap_true. - - mt_tree = VALUE #( ( object = '1' categories = VALUE #( ( object = '1.1' categories = VALUE #( ( object = '1.1.1') - ( object = '1.1.2') ) ) - ( object = '1.2' ) ) ) - ( object = '2' categories = VALUE #( ( object = '2.1' ) - ( object = '2.2' ) ) ) - ( object = '3' categories = VALUE #( ( object = '3.1' ) - ( object = '3.2' ) ) ) ). - ENDIF. - - CASE client->get( )-event. - - WHEN 'BACK'. - client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ). - ENDCASE. - - DATA(view) = z2ui5_cl_xml_view=>factory( ). - DATA(page) = view->shell( - )->page( - title = 'abap2UI5 - TreeTable' - navbuttonpress = client->_event( 'BACK' ) - shownavbutton = abap_true - )->header_content( - )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1673320288983842820` - )->link( - - - )->get_parent( ). - - DATA(tab) = page->tree_table( - rows = `{path:'` && client->_bind( val = mt_tree path = abap_true ) && `', parameters: {arrayNames:['CATEGORIES']}}` ). - tab->tree_columns( - )->tree_column( label = 'Object' - )->tree_template( - )->text( text = '{OBJECT}')->get_parent( )->get_parent( - )->tree_column( label = 'Column2' - )->tree_template( - )->text( text = '{COL2}')->get_parent( )->get_parent( - )->tree_column( label = 'Column3' - )->tree_template( - )->text( text = '{COL3}')->get_parent( )->get_parent( - )->tree_column( label = 'Column4' - )->tree_template( - )->text( text = '{COL4}'). - - client->view_display( view->stringify( ) ). - - ENDMETHOD. -ENDCLASS. diff --git a/src/z2ui5_cl_demo_app_007.clas.xml b/src/z2ui5_cl_demo_app_007.clas.xml deleted file mode 100644 index f399da3c..00000000 --- a/src/z2ui5_cl_demo_app_007.clas.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Z2UI5_CL_DEMO_APP_007 - E - tree - simple - 1 - X - X - X - - - -