DragSourceInfo
Use
DragSourceInfo returns information about an object that can be moved using Drag & Drop.
|
Runtime Class |
CL_WD_DRAG_SOURCE_INFO |
Properties in View Designer
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
STRING |
Yes |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
text/plain |
No |
|
|
WDUI_DRAG_DROP_MODE |
default |
No |
|
|
WDUI_DRAG_DROP_SCOPE |
componentInstance |
No |
|
|
STRING |
No |
Aggregations in the View Designer
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..n |
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
DATA |
STRING |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
MIME_TYPE |
STRING |
|
|
MODE |
WDUI_DRAG_DROP_MODE |
|
|
|
CL_WD_DRAG_SOURCE_INFO=>E_MODE-DEFAULT |
|
|
|
CL_WD_DRAG_SOURCE_INFO=>E_MODE-NATIVE |
|
|
SCOPE |
WDUI_DRAG_DROP_SCOPE |
|
|
scope: componentInstance |
CL_WD_DRAG_SOURCE_INFO=>E_SCOPE-COMPONENT_INSTANCE |
|
|
scope: global |
CL_WD_DRAG_SOURCE_INFO=>E_SCOPE-GLOBAL |
|
|
TAGS |
STRING |
|
|
Name |
Runtime Name |
Cardinality |
|---|---|---|
|
HINTS |
0..n |
Example
You can find an example of this UI element in the system in the WDR_TEST_DRAG_AND_DROP component.