More hotkeys

More on page main and code inspector,
plus changed default for settings.
This commit is contained in:
Christian Guenter 2018-08-16 19:57:29 +00:00 committed by Lars Hvam
parent e699e7b0c9
commit f0415a22fd
3 changed files with 18 additions and 1 deletions

View File

@ -124,7 +124,7 @@ CLASS ZCL_ABAPGIT_GUI_CHUNK_LIB IMPLEMENTATION.
&& '<div class="float-right">' && '<div class="float-right">'
&& zcl_abapgit_html=>a( && zcl_abapgit_html=>a(
iv_txt = '&#x274c;' iv_txt = '&#x274c;'
iv_typ = zif_abapgit_definitions=>gc_action_type-onclick iv_typ = zif_abapgit_definitions=>c_action_type-onclick
iv_act = 'displayNews()' iv_act = 'displayNews()'
iv_class = 'close-btn' ) iv_class = 'close-btn' )
&& '</div></div>' ). && '</div></div>' ).

View File

@ -321,6 +321,18 @@ CLASS zcl_abapgit_gui_page_code_insp IMPLEMENTATION.
METHOD zif_abapgit_gui_page_hotkey~get_hotkey_actions. METHOD zif_abapgit_gui_page_hotkey~get_hotkey_actions.
DATA: ls_hotkey_action LIKE LINE OF rt_hotkey_actions.
ls_hotkey_action-name = |Code Inspector: Stage|.
ls_hotkey_action-action = c_actions-stage.
ls_hotkey_action-default_hotkey = |s|.
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
ls_hotkey_action-name = |Code Inspector: Re-Run|.
ls_hotkey_action-action = c_actions-rerun.
ls_hotkey_action-default_hotkey = |r|.
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
ENDMETHOD. ENDMETHOD.
ENDCLASS. ENDCLASS.

View File

@ -360,6 +360,11 @@ CLASS zcl_abapgit_gui_page_main IMPLEMENTATION.
ls_hotkey_action-name = |Main: Settings|. ls_hotkey_action-name = |Main: Settings|.
ls_hotkey_action-action = zif_abapgit_definitions=>c_action-go_settings. ls_hotkey_action-action = zif_abapgit_definitions=>c_action-go_settings.
ls_hotkey_action-default_hotkey = |x|.
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
ls_hotkey_action-name = |Main: Stage|.
ls_hotkey_action-action = zif_abapgit_definitions=>c_action-go_stage.
ls_hotkey_action-default_hotkey = |s|. ls_hotkey_action-default_hotkey = |s|.
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions. INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.