From 25c9eb547f022ddd165869462db5ce3020229fdf Mon Sep 17 00:00:00 2001 From: "oblomov-dev@outlook.com" Date: Fri, 23 Feb 2024 16:55:59 +0000 Subject: [PATCH] update --- src/z2ui5_cl_demo_app_174.clas.abap | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/src/z2ui5_cl_demo_app_174.clas.abap b/src/z2ui5_cl_demo_app_174.clas.abap index 65db71dc..33eb7c51 100644 --- a/src/z2ui5_cl_demo_app_174.clas.abap +++ b/src/z2ui5_cl_demo_app_174.clas.abap @@ -72,8 +72,7 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION. view = view->shell( )->page( id = `page_main` title = 'abap2UI5 - Popup Layout' navbuttonpress = client->_event( 'BACK' ) - shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) - ). + shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ). DATA(table) = view->table( growing = 'true' @@ -91,19 +90,6 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION. icon = 'sap-icon://action-settings' press = client->_event( val = 'LAYOUT_EDIT' ) ). -* headder->overflow_toolbar_menu_button( tooltip = 'Export' icon = 'sap-icon://action-settings' -* )->_generic( `menu` -* )->_generic( `Menu` -* )->menu_item( text = 'Change Layout' -* icon = 'sap-icon://edit' -* press = client->_event( val = 'LAYOUT_EDIT' ) -* )->menu_item( text = 'Choose Layout' -* icon = 'sap-icon://open-folder' -* press = client->_event( val = 'LAYOUT_OPEN' ) -* )->menu_item( text = 'Manage Layouts' -* icon = 'sap-icon://delete' -* press = client->_event( val = 'LAYOUT_DELETE' ) ). - DATA(columns) = table->columns( ). LOOP AT ms_layout-t_layout REFERENCE INTO DATA(layout). @@ -192,21 +178,10 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION. CASE client->get( )-event. - WHEN 'LAYOUT_OPEN'. -* client->view_destroy( ). - client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout - open_layout = abap_true ) ). - WHEN 'LAYOUT_EDIT'. -* client->view_destroy( ). client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout extended_layout = abap_true ) ). - WHEN 'LAYOUT_DELETE'. -* client->view_destroy( ). - client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout - delete_layout = abap_true ) ). - ENDCASE. ENDMETHOD.