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 | 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 {cx_root} = await import("./cx_root.clas.mjs");
// cl_dragdrop.clas.abap
class cl_dragdrop {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_DRAGDROP';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {"COPY": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
"MOVE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
static METHODS = {"ADD": {"visibility": "U", "parameters": {"FLAVOR": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "DRAGSRC": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "DROPTARGET": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "EFFECT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "EFFECT_IN_CTRL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}}},
"GET": {"visibility": "U", "parameters": {"FLAVOR": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "ISDRAGSRC": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "E", "type_name": "CharacterType"}, "ISDROPTARGET": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "E", "type_name": "CharacterType"}, "EFFECT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}, "EFFECT_IN_CTRL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}},
"GET_HANDLE": {"visibility": "U", "parameters": {"HANDLE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"add": this.add.bind(this),
"get": this.get.bind(this),
"get_handle": this.get_handle.bind(this),
};
this.copy = cl_dragdrop.copy;
this.move = cl_dragdrop.move;
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async add(INPUT) {
let flavor = INPUT?.flavor;
let dragsrc = INPUT?.dragsrc;
if (dragsrc?.getQualifiedName === undefined || dragsrc.getQualifiedName() !== "ABAP_BOOL") { dragsrc = undefined; }
if (dragsrc === undefined) { dragsrc = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.dragsrc); }
let droptarget = INPUT?.droptarget;
if (droptarget?.getQualifiedName === undefined || droptarget.getQualifiedName() !== "ABAP_BOOL") { droptarget = undefined; }
if (droptarget === undefined) { droptarget = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.droptarget); }
let effect = new abap.types.Integer({qualifiedName: "I"});
if (INPUT && INPUT.effect) {effect.set(INPUT.effect);}
let effect_in_ctrl = new abap.types.Integer({qualifiedName: "I"});
if (INPUT && INPUT.effect_in_ctrl) {effect_in_ctrl.set(INPUT.effect_in_ctrl);}
return;
}
async get_handle(INPUT) {
let handle = INPUT?.handle || new abap.types.Integer({qualifiedName: "I"});
return;
}
async get(INPUT) {
let flavor = INPUT?.flavor;
let isdragsrc = INPUT?.isdragsrc || new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
let isdroptarget = INPUT?.isdroptarget || new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
let effect = INPUT?.effect || new abap.types.Integer({qualifiedName: "I"});
let effect_in_ctrl = INPUT?.effect_in_ctrl || new abap.types.Integer({qualifiedName: "I"});
return;
}
}
abap.Classes['CL_DRAGDROP'] = cl_dragdrop;
cl_dragdrop.copy = new abap.types.Integer({qualifiedName: "I"});
cl_dragdrop.copy.set(1);
cl_dragdrop.move = new abap.types.Integer({qualifiedName: "I"});
cl_dragdrop.move.set(2);
export {cl_dragdrop}; |