mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Consolidate GUI actions (#6296)
This commit is contained in:
parent
b77d419077
commit
84e5883cd8
|
@ -19,10 +19,9 @@ CLASS zcl_abapgit_gui DEFINITION
|
|||
END OF c_event_state .
|
||||
CONSTANTS:
|
||||
BEGIN OF c_action,
|
||||
go_home TYPE string VALUE 'go_home',
|
||||
go_db TYPE string VALUE 'go_db',
|
||||
go_home TYPE string VALUE zif_abapgit_definitions=>c_action-go_home,
|
||||
go_db TYPE string VALUE zif_abapgit_definitions=>c_action-go_db,
|
||||
END OF c_action .
|
||||
|
||||
METHODS go_home
|
||||
RAISING
|
||||
zcx_abapgit_exception .
|
||||
|
|
|
@ -205,7 +205,7 @@ CLASS zcl_abapgit_gui_router IMPLEMENTATION.
|
|||
lv_key = ii_event->query( )->get( 'KEY' ).
|
||||
|
||||
CASE ii_event->mv_action.
|
||||
WHEN zcl_abapgit_gui=>c_action-go_home.
|
||||
WHEN zif_abapgit_definitions=>c_action-go_home.
|
||||
lv_last_repo_key = zcl_abapgit_persistence_user=>get_instance( )->get_repo_show( ).
|
||||
|
||||
IF lv_last_repo_key IS NOT INITIAL.
|
||||
|
|
|
@ -403,6 +403,7 @@ INTERFACE zif_abapgit_definitions
|
|||
db_display TYPE string VALUE 'db_display',
|
||||
db_edit TYPE string VALUE 'db_edit',
|
||||
bg_update TYPE string VALUE 'bg_update',
|
||||
go_home TYPE string VALUE 'go_home',
|
||||
go_back TYPE string VALUE 'go_back',
|
||||
go_explore TYPE string VALUE 'go_explore',
|
||||
go_repo TYPE string VALUE 'go_repo',
|
||||
|
|
Loading…
Reference in New Issue
Block a user