abapGit/src/ui/zif_abapgit_gui_page_hotkey.intf.abap
Christian Günter 02647d77c6 Hotkeys no longer depend on abapGit installation #2629 (#2633)
* Hotkeys no longer depend on abapGit installation

When this commit is applied hotkeys also work with
the single abapGit report. Limitation is still that users
only can override hotkeys with the installed abapGit repo.

* Fix hotkey display when no user def. hotkeys

* New: Override hotkeys within one file abapGit report

When this commit is applied it's possible to override the default
shortcut also in the one file abapGit report. It's no longer necessary
to installe the full abapGit repo to use this feature

* Extract is_merged + check in hotkey logic
2019-04-19 00:21:36 -07:00

21 lines
586 B
ABAP

INTERFACE zif_abapgit_gui_page_hotkey
PUBLIC.
TYPES:
BEGIN OF ty_hotkey_with_name.
INCLUDE TYPE zif_abapgit_definitions=>ty_hotkey.
TYPES:
name TYPE string,
END OF ty_hotkey_with_name,
tty_hotkey_with_name TYPE STANDARD TABLE OF ty_hotkey_with_name
WITH NON-UNIQUE DEFAULT KEY
WITH NON-UNIQUE SORTED KEY action
COMPONENTS action.
CLASS-METHODS:
get_hotkey_actions
RETURNING
VALUE(rt_hotkey_actions) TYPE tty_hotkey_with_name.
ENDINTERFACE.