Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add salv constants #10

Merged
merged 5 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/cl_alv_event_toolbar_set.clas.abap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS cl_alv_event_toolbar_set DEFINITION PUBLIC.
PUBLIC SECTION.
ENDCLASS.

CLASS cl_alv_event_toolbar_set IMPLEMENTATION.

ENDCLASS.
26 changes: 26 additions & 0 deletions src/cl_gui_alv_grid.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ CLASS cl_gui_alv_grid DEFINITION PUBLIC.
VALUE(e_column) TYPE any OPTIONAL
VALUE(es_row_no) TYPE any OPTIONAL.

EVENTS user_command
EXPORTING
VALUE(e_ucomm) TYPE sy-ucomm OPTIONAL.

EVENTS toolbar
EXPORTING
VALUE(e_object) TYPE REF TO cl_alv_event_toolbar_set OPTIONAL
VALUE(e_interactive) TYPE char1 OPTIONAL.

CLASS-METHODS offline
RETURNING
VALUE(e_offline) TYPE i.
Expand All @@ -65,6 +74,19 @@ CLASS cl_gui_alv_grid DEFINITION PUBLIC.
it_index_rows TYPE any OPTIONAL
it_row_no TYPE any OPTIONAL
is_keep_other_selections TYPE abap_bool OPTIONAL.

METHODS set_toolbar_interactive.

CONSTANTS mc_fc_loc_copy_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_delete_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_append_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_insert_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_move_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_copy TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_cut TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_paste TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_paste_new_row TYPE ui_func VALUE 'TODO'.
CONSTANTS mc_fc_loc_undo TYPE ui_func VALUE 'TODO'.
ENDCLASS.

CLASS cl_gui_alv_grid IMPLEMENTATION.
Expand All @@ -73,6 +95,10 @@ CLASS cl_gui_alv_grid IMPLEMENTATION.
ASSERT 1 = 'todo'.
ENDMETHOD.

METHOD set_toolbar_interactive.
ASSERT 1 = 'todo'.
ENDMETHOD.

METHOD set_ready_for_input.
ASSERT 1 = 'todo'.
ENDMETHOD.
Expand Down
8 changes: 8 additions & 0 deletions src/cl_gui_control.clas.abap
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
CLASS cl_gui_control DEFINITION PUBLIC.
PUBLIC SECTION.

CLASS-METHODS set_focus
IMPORTING
control TYPE REF TO cl_gui_control.
ENDCLASS.

CLASS cl_gui_control IMPLEMENTATION.

METHOD set_focus.
ASSERT 1 = 'todo'.
ENDMETHOD.

ENDCLASS.
11 changes: 11 additions & 0 deletions src/cl_gui_splitter_container.clas.abap
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
CLASS cl_gui_splitter_container DEFINITION PUBLIC.
PUBLIC SECTION.

METHODS constructor
IMPORTING
parent TYPE REF TO cl_gui_container OPTIONAL
rows TYPE i OPTIONAL
columns TYPE i OPTIONAL.

METHODS free.

METHODS set_column_width
Expand Down Expand Up @@ -29,6 +36,10 @@ ENDCLASS.

CLASS cl_gui_splitter_container IMPLEMENTATION.

METHOD constructor.
ASSERT 1 = 'todo'.
ENDMETHOD.

METHOD free.
ASSERT 1 = 'todo'.
ENDMETHOD.
Expand Down
19 changes: 19 additions & 0 deletions src/ddic/ui_functions.ttyp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_TTYP" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DD40V>
<TYPENAME>UI_FUNCTIONS</TYPENAME>
<DDLANGUAGE>E</DDLANGUAGE>
<ROWTYPE>UI_FUNC</ROWTYPE>
<ROWKIND>E</ROWKIND>
<DATATYPE>CHAR</DATATYPE>
<LENG>000070</LENG>
<ACCESSMODE>T</ACCESSMODE>
<KEYDEF>D</KEYDEF>
<KEYKIND>N</KEYKIND>
<DDTEXT>UI_FUNCTIONS</DDTEXT>
</DD40V>
</asx:values>
</asx:abap>
</abapGit>