AbstractTreeNodeType Events
● onAction
Assignment of the action to be executed when the user clicks on an entry in the tree.
Parameter Name |
Type |
Description |
ID |
STRING |
|
CONTEXT_ELEMENT |
IF_WD_CONTEXT_ELEMENT |
|
PATH |
STRING |
Path |
● onDrop
Assignment of the action to be executed when the user moves an entry or multiple entries in the tree by means of Drag&Drop.
Parameter Name |
Type |
Description |
ID |
STRING |
|
CONTEXT_ELEMENT |
IF_WD_CONTEXT_ELEMENT |
|
DATA |
STRING |
Textual representation of data transported to DropTarget. Along with mimeType, this property forms a link to resources. |
MIME_TYPE |
STRING |
Type of resource. Note that this property is not currently used; it is intended for future developments. |
OFFSET |
I |
Position where the data is dropped: ● -1 means above the entry ● +1 means below the entry ●
0 means directly on the entry. |
PATH |
STRING |
Specifies up or down from what position the insertion is to be. This is the context path belonging to the tree node. |
TAGS |
STRING |
This property corresponds to flavors in the programming environment. The flavor describes the type of drag and drop description. In a drag and drop operation, you can only drop an object onto another if both have at least one common description. |