mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:04:38 +08:00
debuggin tools fix + toggleState on tree (#992)
This commit is contained in:
parent
8615e1aaba
commit
d63862b286
|
@ -71,7 +71,7 @@ CLASS Z2UI5_CL_FW_CC_DEBUGGING_TOOLS IMPLEMENTATION.
|
|||
` return;` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` if (selItem == 'VIEW') {` && |\n| &&
|
||||
` if( !sap?.z2ui5?.oView?.mProperties?.viewContent === 'undefined' ) {` && |\n| &&
|
||||
` if( !sap?.z2ui5?.oView?.mProperties?.viewContent !== 'undefined' ) {` && |\n| &&
|
||||
` this.displayEditor( oEvent, this.prettifyXml( sap?.z2ui5?.oView?.mProperties?.viewContent ) , 'xml', this.prettifyXml( sap?.z2ui5?.oView?._xContent.outerHTML) );` && |\n| &&
|
||||
` } else {` && |\n| &&
|
||||
` this.displayEditor( oEvent, this.prettifyXml( sap.z2ui5.responseData.S_FRONT.PARAMS.S_VIEW.XML ), 'xml', this.prettifyXml( sap?.z2ui5?.oView?._xContent.outerHTML) );` && |\n| &&
|
||||
|
|
|
@ -1974,6 +1974,7 @@ CLASS z2ui5_cl_xml_view DEFINITION
|
|||
!includeiteminselection TYPE abap_bool OPTIONAL
|
||||
!inset TYPE abap_bool OPTIONAL
|
||||
!width TYPE clike OPTIONAL
|
||||
!toggleopenstate TYPE clike OPTIONAL
|
||||
RETURNING
|
||||
VALUE(result) TYPE REF TO z2ui5_cl_xml_view .
|
||||
METHODS standard_tree_item
|
||||
|
@ -3570,7 +3571,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
||||
CLASS Z2UI5_CL_XML_VIEW IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD actions.
|
||||
|
@ -7533,6 +7534,7 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
|||
( n = `headerText` v = headertext )
|
||||
( n = `footerText` v = footertext )
|
||||
( n = `mode` v = mode )
|
||||
( n = `toggleOpenState` v = toggleopenstate )
|
||||
( n = `width` v = width )
|
||||
( n = `includeItemInSelection` v = z2ui5_cl_util=>boolean_abap_2_json( includeiteminselection ) )
|
||||
( n = `inset` v = z2ui5_cl_util=>boolean_abap_2_json( inset ) )
|
||||
|
|
Loading…
Reference in New Issue
Block a user