
This UI element provides a navigation structure similar to the ContextualPanel with a two-level navigation hierarchy.
The currently selected entry is determined by the lead selection.
Examples of the Display
|
One-level
|
|
Two-level
|
| Runtime Class |
CL_WD_HORIZONTAL_CTX_PANEL |
Properties in the View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDUI_HOR_CTX_PANEL_DESIGN |
standard |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
Context node |
Mandatory |
||
|
Translatable text |
Yes |
||
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
Events in the View Designer
| Name |
|---|
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
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 |
|---|---|---|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_HORIZONTAL_CTX_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_HORIZONTAL_CTX_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_HORIZONTAL_CTX_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DESIGN |
WDUI_HOR_CTX_PANEL_DESIGN |
|
|
design: emphasized |
CL_WD_HORIZONTAL_CTX_PANEL=>E_DESIGN-EMPHASIZED |
|
|
design: standard |
CL_WD_HORIZONTAL_CTX_PANEL=>E_DESIGN-STANDARD |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
ITEM_ENABLED |
WDY_BOOLEAN |
|
|
ITEM_SOURCE |
OBJECT |
|
|
ITEM_TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
|
ITEM_TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
|
itemTextDirection: inherit |
CL_WD_HORIZONTAL_CTX_PANEL=>E_ITEM_TEXT_DIRECTION-INHERIT |
|
|
itemTextDirection: ltr |
CL_WD_HORIZONTAL_CTX_PANEL=>E_ITEM_TEXT_DIRECTION-LTR |
|
|
itemTextDirection: rtl |
CL_WD_HORIZONTAL_CTX_PANEL=>E_ITEM_TEXT_DIRECTION-RTL |
|
|
ITEM_VISIBLE |
WDY_BOOLEAN |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_HORIZONTAL_CTX_PANEL=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_HORIZONTAL_CTX_PANEL=>E_VISIBLE-VISIBLE |
Dynamic Programming of Events
| View Designer Name | Runtime Name |
|---|---|
|
ON_SELECT |
You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the view HOR_CTX_PANEL.