Start of Content Area

Background documentation AbstractTreeNodeType  Locate the document in its SAP Library structure

AbstractTreeNodeType is the abstract UI element of a TreeNodeType.

 

Runtime Class

CL_WD_ABSTRACT_TREE_NODE_TYPE

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

 

No

dataSource

Context node

 

Mandatory

design

WDUI_TREE_NODE_DESIGN

standard

Yes

iconSource

STRING

 

Yes

ignoreAction

WDY_BOOLEAN

false

Yes

text

Translatable text

 

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

tooltip

Translatable text

 

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

DRAG_SOURCE_INFO

0..1

DragSourceInfo

DROP_TARGET_INFO

0..1

DropTargetInfo

MENU

0..1

Menu

 

Events in View Designer

Name

onAction

onDrop

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

        ContextMenuProvider

        ViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations as in the View Designer are available . Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

 contextMenuBehaviour: inherit

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

 contextMenuBehaviour: provide

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

 contextMenuBehaviour: suppress

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

dataSource

DATA_SOURCE

OBJECT

design

DESIGN

WDUI_TREE_NODE_DESIGN

design: emphasized

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_DESIGN-EMPHASIZED

design: standard

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_DESIGN-STANDARD

iconSource

ICON_SOURCE

STRING

ignoreAction

IGNORE_ACTION

WDY_BOOLEAN

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

textDirection inherit

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_TEXT_DIRECTION-INHERIT

textDirection ltr

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_TEXT_DIRECTION-LTR

textDirection rtl

CL_WD_ABSTRACT_TREE_NODE_TYPE=>E_TEXT_DIRECTION-RTL

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

 

Dynamic Programming of Events

View Designer Name

Runtime Name

onAction

ON_ACTION

onDrop

ON_DROP

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

DRAG_SOURCE_INFO

DRAG_SOURCE_INFO

0..1

DROP_TARGET_INFO

DROP_TARGET_INFO

0..1

MENU

MENU

0..1

 

 

End of Content Area