mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
Update menu ids
This commit is contained in:
parent
1e791b8be0
commit
7492d1da90
|
@ -99,7 +99,7 @@ CLASS zcl_abapgit_gui_page_template IMPLEMENTATION.
|
|||
|
||||
" TODO: top level menu; use unique id
|
||||
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-id' )->add(
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-template-id' )->add(
|
||||
iv_txt = 'Refresh'
|
||||
iv_act = c_action-refresh ).
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ CLASS zcl_abapgit_gui_menus IMPLEMENTATION.
|
|||
|
||||
METHOD settings.
|
||||
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'toolbar-Settings' ).
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'toolbar-abapgit-settings' ).
|
||||
|
||||
ro_menu->add(
|
||||
iv_txt = 'Global'
|
||||
|
|
|
@ -168,7 +168,7 @@ CLASS zcl_abapgit_gui_page_codi_base IMPLEMENTATION.
|
|||
|
||||
METHOD build_base_menu.
|
||||
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'code-inspector' )->add(
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'toolbar-code-inspector' )->add(
|
||||
iv_txt = 'Re-Run'
|
||||
iv_act = c_actions-rerun ).
|
||||
|
||||
|
|
|
@ -595,7 +595,7 @@ CLASS zcl_abapgit_gui_page_db IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_gui_menu_provider~get_menu.
|
||||
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'database-utility' ).
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-database-utility' ).
|
||||
|
||||
ro_toolbar->add(
|
||||
iv_txt = 'Backup'
|
||||
|
@ -648,7 +648,7 @@ CLASS zcl_abapgit_gui_page_db IMPLEMENTATION.
|
|||
rs_render-css_class = 'data'.
|
||||
WHEN 'cmd'.
|
||||
lv_action = zcl_abapgit_html_action_utils=>dbkey_encode( is_row ).
|
||||
lo_toolbar = zcl_abapgit_html_toolbar=>create(
|
||||
lo_toolbar = zcl_abapgit_html_toolbar=>create( 'actionbar-database-utility'
|
||||
)->add(
|
||||
iv_txt = 'Display'
|
||||
iv_act = |{ zif_abapgit_definitions=>c_action-db_display }?{ lv_action }|
|
||||
|
|
|
@ -96,7 +96,7 @@ CLASS zcl_abapgit_gui_page_db_entry IMPLEMENTATION.
|
|||
|
||||
METHOD build_toolbar.
|
||||
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'database-entry' ).
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-database-entry' ).
|
||||
|
||||
IF mv_edit_mode = abap_true.
|
||||
ro_toolbar->add(
|
||||
|
|
|
@ -382,7 +382,7 @@ CLASS zcl_abapgit_gui_page_data IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_gui_menu_provider~get_menu.
|
||||
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'advanced-data' ).
|
||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-advanced-data' ).
|
||||
|
||||
ro_toolbar->add( iv_txt = 'Add Via Transport'
|
||||
iv_act = c_event-add_via_transport ).
|
||||
|
|
|
@ -71,7 +71,7 @@ CLASS zcl_abapgit_gui_page_debuginfo IMPLEMENTATION.
|
|||
|
||||
METHOD build_toolbar.
|
||||
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'toolbar-debug' ).
|
||||
ro_menu = zcl_abapgit_html_toolbar=>create( 'toolbar-debug-info' ).
|
||||
|
||||
ro_menu->add(
|
||||
iv_txt = 'Save'
|
||||
|
|
|
@ -510,12 +510,6 @@ CLASS zcl_abapgit_gui_page_repo_over IMPLEMENTATION.
|
|||
iv_class = |{ lc_action_class } { lc_offline_class }|
|
||||
iv_li_class = |{ lc_action_class }| ).
|
||||
|
||||
lo_toolbar_more_sub->add(
|
||||
iv_txt = |Change Repository Package|
|
||||
iv_act = |{ zif_abapgit_definitions=>c_action-repo_change_package }{ lc_dummy_key }|
|
||||
iv_class = |{ lc_action_class } { lc_online_class }|
|
||||
iv_li_class = |{ lc_action_class }| ).
|
||||
|
||||
lo_toolbar_more_sub->add(
|
||||
iv_txt = 'Danger'
|
||||
iv_typ = zif_abapgit_html=>c_action_type-separator ).
|
||||
|
|
|
@ -303,9 +303,6 @@ CLASS zcl_abapgit_gui_page_repo_view IMPLEMENTATION.
|
|||
iv_act = |{ zif_abapgit_definitions=>c_action-go_stage_transport }?key={ mv_key }| ).
|
||||
ENDIF.
|
||||
|
||||
ro_advanced_dropdown->add( iv_txt = 'Change Repository Package'
|
||||
iv_act = |{ zif_abapgit_definitions=>c_action-repo_change_package }?key={ mv_key }| ).
|
||||
|
||||
ro_advanced_dropdown->add( iv_txt = 'Quality Assurance'
|
||||
iv_typ = zif_abapgit_html=>c_action_type-separator ).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user