mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
New UserExit at REPO TOOLBAR for adding custom repo settings (#6249)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com> Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
6d58152426
commit
04a0d256b0
|
@ -379,4 +379,15 @@ CLASS zcl_abapgit_exit IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
ENDMETHOD.
|
||||
METHOD zif_abapgit_exit~enhance_repo_toolbar.
|
||||
IF gi_exit IS NOT INITIAL.
|
||||
TRY.
|
||||
gi_exit->enhance_repo_toolbar(
|
||||
io_menu = io_menu
|
||||
iv_key = iv_key
|
||||
iv_act = iv_act ).
|
||||
CATCH cx_sy_ref_is_initial cx_sy_dyn_call_illegal_method ##NO_HANDLER.
|
||||
ENDTRY.
|
||||
ENDIF.
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
|
|
|
@ -132,4 +132,9 @@ INTERFACE zif_abapgit_exit
|
|||
IMPORTING
|
||||
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
||||
!ii_html TYPE REF TO zif_abapgit_html .
|
||||
METHODS enhance_repo_toolbar
|
||||
IMPORTING
|
||||
!io_menu TYPE REF TO zcl_abapgit_html_toolbar
|
||||
!iv_key TYPE zif_abapgit_persistence=>ty_value
|
||||
!iv_act TYPE string.
|
||||
ENDINTERFACE.
|
||||
|
|
|
@ -1416,6 +1416,11 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
|||
iv_act = |{ zif_abapgit_definitions=>c_action-repo_infos }?key={ iv_key }|
|
||||
iv_cur = boolc( iv_act = zif_abapgit_definitions=>c_action-repo_infos ) ).
|
||||
|
||||
zcl_abapgit_exit=>get_instance( )->enhance_repo_toolbar(
|
||||
io_menu = ro_menu
|
||||
iv_key = iv_key
|
||||
iv_act = iv_act ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user