Skip to content

Commit 25c9eb5

Browse files
committed
update
1 parent a461e31 commit 25c9eb5

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

src/z2ui5_cl_demo_app_174.clas.abap

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
7272
view = view->shell( )->page( id = `page_main`
7373
title = 'abap2UI5 - Popup Layout'
7474
navbuttonpress = client->_event( 'BACK' )
75-
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
76-
).
75+
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
7776

7877
DATA(table) = view->table(
7978
growing = 'true'
@@ -91,19 +90,6 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
9190
icon = 'sap-icon://action-settings'
9291
press = client->_event( val = 'LAYOUT_EDIT' ) ).
9392

94-
* headder->overflow_toolbar_menu_button( tooltip = 'Export' icon = 'sap-icon://action-settings'
95-
* )->_generic( `menu`
96-
* )->_generic( `Menu`
97-
* )->menu_item( text = 'Change Layout'
98-
* icon = 'sap-icon://edit'
99-
* press = client->_event( val = 'LAYOUT_EDIT' )
100-
* )->menu_item( text = 'Choose Layout'
101-
* icon = 'sap-icon://open-folder'
102-
* press = client->_event( val = 'LAYOUT_OPEN' )
103-
* )->menu_item( text = 'Manage Layouts'
104-
* icon = 'sap-icon://delete'
105-
* press = client->_event( val = 'LAYOUT_DELETE' ) ).
106-
10793
DATA(columns) = table->columns( ).
10894

10995
LOOP AT ms_layout-t_layout REFERENCE INTO DATA(layout).
@@ -192,21 +178,10 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
192178

193179
CASE client->get( )-event.
194180

195-
WHEN 'LAYOUT_OPEN'.
196-
* client->view_destroy( ).
197-
client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout
198-
open_layout = abap_true ) ).
199-
200181
WHEN 'LAYOUT_EDIT'.
201-
* client->view_destroy( ).
202182
client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout
203183
extended_layout = abap_true ) ).
204184

205-
WHEN 'LAYOUT_DELETE'.
206-
* client->view_destroy( ).
207-
client->nav_app_call( z2ui5_cl_popup_layout_v2=>factory( layout = ms_layout
208-
delete_layout = abap_true ) ).
209-
210185
ENDCASE.
211186

212187
ENDMETHOD.

0 commit comments

Comments
 (0)