From 95c6f090ef820cfe8c68e3a9bd8de55b4ac7ea9b Mon Sep 17 00:00:00 2001 From: "oblomov-dev@outlook.com" Date: Wed, 14 Feb 2024 22:12:05 +0000 Subject: [PATCH] update --- src/z2ui5_cl_demo_app_004.clas.abap | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/z2ui5_cl_demo_app_004.clas.abap b/src/z2ui5_cl_demo_app_004.clas.abap index 1eab8e90..c0ef047e 100644 --- a/src/z2ui5_cl_demo_app_004.clas.abap +++ b/src/z2ui5_cl_demo_app_004.clas.abap @@ -1,35 +1,32 @@ -CLASS Z2UI5_CL_DEMO_APP_004 DEFINITION PUBLIC. +CLASS z2ui5_cl_demo_app_004 DEFINITION PUBLIC. PUBLIC SECTION. - INTERFACES Z2UI5_if_app. - - - + INTERFACES z2ui5_if_app. DATA check_initialized TYPE abap_bool. DATA mv_view_main TYPE string. PROTECTED SECTION. - METHODS Z2UI5_view_main_display. - METHODS Z2UI5_view_second_display. - DATA client TYPE REF TO Z2UI5_if_client. + METHODS z2ui5_view_main_display. + METHODS z2ui5_view_second_display. + DATA client TYPE REF TO z2ui5_if_client. PRIVATE SECTION. ENDCLASS. -CLASS Z2UI5_CL_DEMO_APP_004 IMPLEMENTATION. +CLASS z2ui5_cl_demo_app_004 IMPLEMENTATION. - METHOD Z2UI5_if_app~main. + METHOD z2ui5_if_app~main. me->client = client. IF check_initialized = abap_false. check_initialized = abap_true. - Z2UI5_view_main_display( ). + z2ui5_view_main_display( ). client->message_box_display( 'app started, init values set' ). RETURN. ENDIF. @@ -40,14 +37,14 @@ CLASS Z2UI5_CL_DEMO_APP_004 IMPLEMENTATION. client->message_box_display( 'server-client roundtrip, method on_event of the abap controller was called' ). WHEN 'BUTTON_RESTART'. - client->nav_app_leave( NEW Z2UI5_CL_DEMO_APP_004( ) ). + client->nav_app_leave( NEW z2ui5_cl_demo_app_004( ) ). WHEN 'BUTTON_CHANGE_VIEW'. CASE mv_view_main. WHEN 'MAIN'. - Z2UI5_view_second_display( ). + z2ui5_view_second_display( ). WHEN 'SECOND'. - Z2UI5_view_main_display( ). + z2ui5_view_main_display( ). ENDCASE. WHEN 'BUTTON_ERROR'. @@ -61,7 +58,7 @@ CLASS Z2UI5_CL_DEMO_APP_004 IMPLEMENTATION. ENDMETHOD. - METHOD Z2UI5_view_main_display. + METHOD z2ui5_view_main_display. mv_view_main = 'MAIN'. @@ -102,7 +99,7 @@ CLASS Z2UI5_CL_DEMO_APP_004 IMPLEMENTATION. ENDMETHOD. - METHOD Z2UI5_view_second_display. + METHOD z2ui5_view_second_display. mv_view_main = 'SECOND'.