All files / output cl_gui_toolbar.clas.mjs

24.76% Statements 52/210
100% Branches 2/2
1.75% Functions 1/57
24.76% Lines 52/210

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 2101x 1x 1x 1x 1x 1x 1x 1x 1x             1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x             1x 1x             1x 1x 1x 1x 1x                                                               1x               1x           1x                   1x                       1x     1x                                           1x       1x                             1x                 1x                 1x               1x     1x                         1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
const {cl_gui_control} = await import("./cl_gui_control.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_gui_toolbar.clas.abap
class cl_gui_toolbar extends cl_gui_control {
  static STATIC_SUPER = cl_gui_control;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_GUI_TOOLBAR';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"M_TABLE_BUTTON": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
  "icon": new abap.types.Character(30, {}),
  "quickinfo": new abap.types.Character(30, {}),
  "butn_type": new abap.types.Integer({qualifiedName: "I"}),
  "disabled": new abap.types.Character(1, {}),
  "text": new abap.types.Character(40, {}),
  "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON");}, "visibility": "U", "is_constant": " ", "is_class": " "},
  "M_ID_FUNCTION_SELECTED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "M_ID_DROPDOWN_CLICKED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "M_MODE_VERTICAL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "M_MODE_HORIZONTAL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "DISPLAY_MODE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "ADD_BUTTON": {"visibility": "U", "parameters": {"FCODE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "ICON": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "IS_DISABLED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "BUTN_TYPE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "TEXT": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "QUICKINFO": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "IS_CHECKED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}}},
  "ASSIGN_STATIC_CTXMENU_TABLE": {"visibility": "U", "parameters": {"TABLE_CTXMENU": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
  "TRACK_CONTEXT_MENU": {"visibility": "U", "parameters": {"CONTEXT_MENU": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_CTMENU", RTTIName: "\\CLASS=CL_CTMENU"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "POSX": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "POSY": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "SET_BUTTON_INFO": {"visibility": "U", "parameters": {"FCODE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "ICON": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "TEXT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "QUICKINFO": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
  "SET_STATIC_CTXMENU": {"visibility": "U", "parameters": {"FCODE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "ICON": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "CTXMENU": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "BTNTYPE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
  "ADD_BUTTON_GROUP": {"visibility": "U", "parameters": {"DATA_TABLE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
  "icon": new abap.types.Character(30, {}),
  "quickinfo": new abap.types.Character(30, {}),
  "butn_type": new abap.types.Integer({qualifiedName: "I"}),
  "disabled": new abap.types.Character(1, {}),
  "text": new abap.types.Character(40, {}),
  "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}, "G_TARGET_EDITOR_MAXIMIZED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "FILL_BUTTONS_DATA_TABLE": {"visibility": "U", "parameters": {"FCODE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "ICON": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "DISABLED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "BUTN_TYPE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "TEXT": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "QUICKINFO": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CLikeType"}, "CHECKED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "DATA_TABLE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
  "icon": new abap.types.Character(30, {}),
  "quickinfo": new abap.types.Character(30, {}),
  "butn_type": new abap.types.Integer({qualifiedName: "I"}),
  "disabled": new abap.types.Character(1, {}),
  "text": new abap.types.Character(40, {}),
  "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON");}, "is_optional": " ", "parm_kind": "C", "type_name": "TableType"}}},
  "SET_BUTTON_STATE": {"visibility": "U", "parameters": {"ENABLED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "CHECKED": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "FCODE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "DELETE_BUTTON": {"visibility": "U", "parameters": {"FCODE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "SET_BUTTON_VISIBLE": {"visibility": "U", "parameters": {"VISIBLE": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "FCODE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
      "add_button": this.add_button.bind(this),
      "assign_static_ctxmenu_table": this.assign_static_ctxmenu_table.bind(this),
      "track_context_menu": this.track_context_menu.bind(this),
      "set_button_info": this.set_button_info.bind(this),
      "set_static_ctxmenu": this.set_static_ctxmenu.bind(this),
      "add_button_group": this.add_button_group.bind(this),
      "set_button_state": this.set_button_state.bind(this),
      "delete_button": this.delete_button.bind(this),
      "set_button_visible": this.set_button_visible.bind(this),
    };
    this.m_table_button = abap.types.TableFactory.construct(new abap.types.Structure({
    "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
    "icon": new abap.types.Character(30, {}),
    "quickinfo": new abap.types.Character(30, {}),
    "butn_type": new abap.types.Integer({qualifiedName: "I"}),
    "disabled": new abap.types.Character(1, {}),
    "text": new abap.types.Character(40, {}),
    "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON");
    this.m_id_function_selected = cl_gui_toolbar.m_id_function_selected;
    this.m_id_dropdown_clicked = cl_gui_toolbar.m_id_dropdown_clicked;
    this.m_mode_vertical = cl_gui_toolbar.m_mode_vertical;
    this.m_mode_horizontal = cl_gui_toolbar.m_mode_horizontal;
    this.dropdown_clicked = {"EVENT_NAME": "DROPDOWN_CLICKED", "EVENT_CLASS": "CL_GUI_TOOLBAR"};
    this.function_selected = {"EVENT_NAME": "FUNCTION_SELECTED", "EVENT_CLASS": "CL_GUI_TOOLBAR"};
  }
  async set_button_visible(INPUT) {
    let visible = INPUT?.visible || new abap.types.Character();
    if (INPUT === undefined || INPUT.visible === undefined) {visible = abap.CharacterFactory.get(1, 'X');}
    let fcode = INPUT?.fcode;
    if (fcode?.getQualifiedName === undefined || fcode.getQualifiedName() !== "UI_FUNC") { fcode = undefined; }
    if (fcode === undefined) { fcode = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}).set(INPUT.fcode); }
    return;
  }
  async delete_button(INPUT) {
    let fcode = INPUT?.fcode;
    if (fcode?.getQualifiedName === undefined || fcode.getQualifiedName() !== "UI_FUNC") { fcode = undefined; }
    if (fcode === undefined) { fcode = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}).set(INPUT.fcode); }
    return;
  }
  async set_button_state(INPUT) {
    let enabled = INPUT?.enabled || new abap.types.Character();
    if (INPUT === undefined || INPUT.enabled === undefined) {enabled = abap.CharacterFactory.get(1, 'X');}
    let checked = INPUT?.checked || new abap.types.Character();
    if (INPUT === undefined || INPUT.checked === undefined) {checked = abap.CharacterFactory.get(1, ' ');}
    let fcode = INPUT?.fcode;
    if (fcode?.getQualifiedName === undefined || fcode.getQualifiedName() !== "UI_FUNC") { fcode = undefined; }
    if (fcode === undefined) { fcode = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}).set(INPUT.fcode); }
    return;
  }
  async track_context_menu(INPUT) {
    let context_menu = INPUT?.context_menu;
    if (context_menu?.getQualifiedName === undefined || context_menu.getQualifiedName() !== "CL_CTMENU") { context_menu = undefined; }
    if (context_menu === undefined) { context_menu = new abap.types.ABAPObject({qualifiedName: "CL_CTMENU", RTTIName: "\\CLASS=CL_CTMENU"}).set(INPUT.context_menu); }
    let posx = INPUT?.posx;
    if (posx?.getQualifiedName === undefined || posx.getQualifiedName() !== "I") { posx = undefined; }
    if (posx === undefined) { posx = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.posx); }
    let posy = INPUT?.posy;
    if (posy?.getQualifiedName === undefined || posy.getQualifiedName() !== "I") { posy = undefined; }
    if (posy === undefined) { posy = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.posy); }
    return;
  }
  async fill_buttons_data_table(INPUT) {
    return cl_gui_toolbar.fill_buttons_data_table(INPUT);
  }
  static async fill_buttons_data_table(INPUT) {
    let fcode = INPUT?.fcode;
    if (fcode?.getQualifiedName === undefined || fcode.getQualifiedName() !== "UI_FUNC") { fcode = undefined; }
    if (fcode === undefined) { fcode = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}).set(INPUT.fcode); }
    let icon = INPUT?.icon;
    let disabled = INPUT?.disabled || new abap.types.Character();
    let butn_type = INPUT?.butn_type;
    let text = INPUT?.text || new abap.types.Character();
    let quickinfo = INPUT?.quickinfo || new abap.types.Character();
    let checked = INPUT?.checked || new abap.types.Character();
    let data_table = abap.types.TableFactory.construct(new abap.types.Structure({
    "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
    "icon": new abap.types.Character(30, {}),
    "quickinfo": new abap.types.Character(30, {}),
    "butn_type": new abap.types.Integer({qualifiedName: "I"}),
    "disabled": new abap.types.Character(1, {}),
    "text": new abap.types.Character(40, {}),
    "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON");
    if (INPUT && INPUT.data_table) {data_table = INPUT.data_table;}
    return;
    abap.builtin.sy.get().subrc.set(0);
  }
  async assign_static_ctxmenu_table(INPUT) {
    let table_ctxmenu = INPUT?.table_ctxmenu;
    return;
  }
  async add_button_group(INPUT) {
    let data_table = INPUT?.data_table;
    if (data_table?.getQualifiedName === undefined || data_table.getQualifiedName() !== "TTB_BUTTON") { data_table = undefined; }
    if (data_table === undefined) { data_table = abap.types.TableFactory.construct(new abap.types.Structure({
    "function": new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}),
    "icon": new abap.types.Character(30, {}),
    "quickinfo": new abap.types.Character(30, {}),
    "butn_type": new abap.types.Integer({qualifiedName: "I"}),
    "disabled": new abap.types.Character(1, {}),
    "text": new abap.types.Character(40, {}),
    "checked": new abap.types.Character(1, {})}, "STB_BUTTON", "STB_BUTTON", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "TTB_BUTTON").set(INPUT.data_table); }
    let g_target_editor_maximized = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.g_target_editor_maximized) {g_target_editor_maximized.set(INPUT.g_target_editor_maximized);}
    return;
  }
  async set_button_info(INPUT) {
    let fcode = INPUT?.fcode;
    if (fcode?.getQualifiedName === undefined || fcode.getQualifiedName() !== "UI_FUNC") { fcode = undefined; }
    if (fcode === undefined) { fcode = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}).set(INPUT.fcode); }
    let icon = INPUT?.icon || new abap.types.Character(4);
    let text = INPUT?.text || new abap.types.Character(4);
    let quickinfo = INPUT?.quickinfo || new abap.types.Character(4);
    return;
  }
  async constructor_(INPUT) {
    let parent = INPUT?.parent;
    if (parent?.getQualifiedName === undefined || parent.getQualifiedName() !== "CL_GUI_CONTAINER") { parent = undefined; }
    if (parent === undefined) { parent = new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"}).set(INPUT.parent); }
    let display_mode = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.display_mode) {display_mode.set(INPUT.display_mode);}
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
    return this;
  }
  async set_static_ctxmenu(INPUT) {
    let fcode = INPUT?.fcode;
    let icon = INPUT?.icon || new abap.types.Character();
    let ctxmenu = INPUT?.ctxmenu || new abap.types.Character(4);
    let btntype = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.btntype) {btntype.set(INPUT.btntype);}
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
  async free() {
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
  async add_button(INPUT) {
    let fcode = INPUT?.fcode;
    let icon = INPUT?.icon;
    let is_disabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.is_disabled) {is_disabled.set(INPUT.is_disabled);}
    let butn_type = INPUT?.butn_type;
    if (butn_type?.getQualifiedName === undefined || butn_type.getQualifiedName() !== "I") { butn_type = undefined; }
    if (butn_type === undefined) { butn_type = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.butn_type); }
    let text = INPUT?.text || new abap.types.Character();
    let quickinfo = INPUT?.quickinfo || new abap.types.Character();
    let is_checked = INPUT?.is_checked || new abap.types.Character();
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
}
abap.Classes['CL_GUI_TOOLBAR'] = cl_gui_toolbar;
cl_gui_toolbar.m_id_function_selected = new abap.types.Integer({qualifiedName: "I"});
cl_gui_toolbar.m_id_function_selected.set(1);
cl_gui_toolbar.m_id_dropdown_clicked = new abap.types.Integer({qualifiedName: "I"});
cl_gui_toolbar.m_id_dropdown_clicked.set(2);
cl_gui_toolbar.m_mode_vertical = new abap.types.Integer({qualifiedName: "I"});
cl_gui_toolbar.m_mode_vertical.set(1);
cl_gui_toolbar.m_mode_horizontal = new abap.types.Integer({qualifiedName: "I"});
cl_gui_toolbar.m_mode_horizontal.set(0);
export {cl_gui_toolbar};