SAP ABAP Class CL_WDR_VIEW_EXPLORER (Browser for UI Elements of a View at Runtime)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_TEST (Package) Web Dynpro: Tests
Properties
Class CL_WDR_VIEW_EXPLORER  
Short Description Browser for UI Elements of a View at Runtime    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_TEST   Web Dynpro: Tests 
Created 20070601   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_WDR_ALL_IN_ONE_UIELEM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WDR_VIEW_EXPLORER has no interface implemented.
Friends
Class CL_WDR_VIEW_EXPLORER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ATTR_SUFFIX Constant Protected Type reference (TYPE) STRING '_ATR' 20070626
2 MC_BOUND_SUFFIX Constant Protected Type reference (TYPE) STRING '_BOUND' Suffix for the attribute that controls binding of attributes 20070626
3 MC_BP_SUFFIX Constant Protected Type reference (TYPE) STRING '_BP' Suffix for the context attribute with the binding path 20070626
4 MC_EVENT_SUFFIX Constant Protected Type reference (TYPE) STRING 'EVENT' Suffix for Event UI 20070626
5 MC_INSTANCE_ATTR_ID Constant Protected Type reference (TYPE) STRING 'VX_INSTANCE' ID of the attribute with the pointer to an instance 20070628
6 MC_LABEL_SUFFIX Instance attribute Protected Type reference (TYPE) STRING 'LBL' Suffix for All Labels 20070625
7 MC_PARAM_SUFFIX Constant Protected Type reference (TYPE) STRING 'PARAM' Suffix for Event Parameter UI 20070625
8 MC_REFRESH_ALL Constant Public Type reference (TYPE) I 3 20100506
9 MC_REFRESH_EVENT_INFO Constant Public Type reference (TYPE) I 4 Flag: Updates actions handlers for current view elemet 20070627
10 MC_REFRESH_NOTHING Constant Public Type reference (TYPE) I 0 Do Not Update Anything 20070620
11 MC_REFRESH_SETTINGS Constant Public Type reference (TYPE) I 1 Update All Settings 20070620
12 MC_REFRESH_SETTINGS_UI Constant Public Type reference (TYPE) I 2 Update Only UI of Strings 20070620
13 MC_TIME_SUFFIX Constant Protected Type reference (TYPE) STRING 'TIME' Suffix for Time Attributes for the Event Context 20070625
14 MC_TOGGLE_SUFFIX Constant Protected Type reference (TYPE) STRING '_TGL' Suffix for Toggle_Button 20070626
15 MC_UIID_CTXT_NAME Constant Protected Type reference (TYPE) STRING 'UI_ID' Name of Browser Context Attributes for UI Element ID 20070606
16 MC_UITYPE_CTXT_NAME Constant Protected Type reference (TYPE) STRING 'UI_TYPE' Name of Browser Context Attributes for UI Element Type 20070606
17 MC_VX_EVENT_NAME Constant Public Type reference (TYPE) STRING 'VX_EVENT' Name of ViewXplorer Event Handler in View 20070626
18 M_BROWSER_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_WD_SCROLL_CONTAINER Container in which the table is located 20070626
19 M_BROWSER_CONTAINER_ID Instance attribute Protected Type reference (TYPE) STRING 'BROWSER_CONT' Container ID in which the browser table is located 20070626
20 M_BROWSER_LIST Instance attribute Protected Type reference (TYPE) T_BROWSER_NODES Table of UI Displayed in Browser Table 20070629
21 M_BROWSER_NODE Instance attribute Protected Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Context Node for the Browser Table 20070606
22 M_BROWSER_NODE_ID Instance attribute Protected Type reference (TYPE) STRING 'BROWSER_NODE' ID for Browser Context 20070606
23 M_BROWSER_TABLE_ID Instance attribute Protected Type reference (TYPE) STRING 'BROWSER_TABLE' ID for Table in Browser 20070606
24 M_BROWSE_THIS_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_WD_UIELEMENT_CONTAINER Container whose UI the ViewExplorer handles 20070625
25 M_CHANGE_BUTTON_ID Instance attribute Protected Type reference (TYPE) STRING 'CHANGE_BUTTON' ID of the button to apply the settings 20070618
26 M_CONTEXT Instance attribute Protected Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Context of the view for which the ViewXplorer is used 20070604
27 M_DESIGN_TIME_AREA Instance attribute Protected Object reference (TYPE REF TO) CL_WD_DESIGN_TIME_AREA 20100511
28 M_DESIGN_TIME_AREA_ID Instance attribute Protected Type reference (TYPE) STRING 'EXPLORER_DTA' 20100506
29 M_DESIGN_TIME_ELEMENT_LIST Instance attribute Protected Type reference (TYPE) T_DESIGN_TIME_AREA_ELEMENTS 20100506
30 M_DESIGN_TIME_NODE Instance attribute Protected Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE 20100506
31 M_DESIGN_TIME_NODE_ID Instance attribute Protected Type reference (TYPE) STRING 'DTE_NODE' 20100506
32 M_DISPLAY_TOP_CONTAINER Instance attribute Protected Type reference (TYPE) ABAP_BOOL Do you want to display Container M_browse_this_container? 20070627
33 M_EVENT_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_WD_SCROLL_CONTAINER Container in which the event display occurs 20070627
34 M_EVENT_CONTAINER_ID Instance attribute Protected Type reference (TYPE) STRING 'EVENT_INFO_CONT' ID of containers in which the event display occurs 20070627
35 M_EVENT_INFO_DATA Instance attribute Protected Type reference (TYPE) T_EVENT_INFOS Data to display Event_Info 20070627
36 M_EVENT_NODE Instance attribute Protected Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Context Node for Event Display 20070625
37 M_EVENT_NODE_ID Instance attribute Protected Type reference (TYPE) STRING 'EVENT_NODE' ID of Context Node for Event Display 20070625
38 M_INSPECTOR_ATTRIBUTE_ID Instance attribute Protected Type reference (TYPE) STRING 'INSPECTOR_SWITCH' 20100506
39 M_INSPECTOR_BUTTON_ID Instance attribute Protected Type reference (TYPE) STRING 'INSPECTOR_BUTTON' 20100506
40 M_INSPECTOR_FLAG Instance attribute Protected Type reference (TYPE) WDY_BOOLEAN 20100506
41 M_INSTANCE_COUNTER Static Attribute Protected Type reference (TYPE) I Counter for the Instances 20070606
42 M_LIST_OF_HANDLERS Instance attribute Protected Type reference (TYPE) T_ACTION_HANDLERS List of all separate View action handlers 20070627
43 M_MASTER_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_WD_PANEL Container with the whole UI of the ViewXplorer 20070614
44 M_MASTER_CONTAINER_ID Instance attribute Protected Type reference (TYPE) STRING 'MASTER_CONT' ID of Main Container containing the ViewXplorer UI 20070615
45 M_MAX_NUM_ATTRIBUTES Static Attribute Protected Type reference (TYPE) I Maximum Number of Attributes for a View Element 20070606
46 M_MLTSDTE_ID Instance attribute Protected Type reference (TYPE) STRING 'EXPLORER_MSDTE' 20100506
47 M_MY_RTTI Static Attribute Protected Object reference (TYPE REF TO) CL_ABAP_DATADESCR RTTI of this Class 20070628
48 M_REFRESH_BUTTON_ID Instance attribute Protected Type reference (TYPE) STRING 'REFRESH_BUTTON' 20100506
49 M_REFRESH_FLAG Instance attribute Protected Type reference (TYPE) I ONACTION... tells REFRESH.... what to refresh 20070620
50 M_RESET_BUTTON_ID Instance attribute Protected Type reference (TYPE) STRING 'RESET_BUTTON' ID of Button to Reset 20070618
51 M_SETTINGS_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_WD_SCROLL_CONTAINER Tray with Settings for a UI Element of the View 20070614
52 M_SETTINGS_CONTAINER_ID Instance attribute Protected Type reference (TYPE) STRING 'SETTINGS_CONT' ID of Container with Settings 20070615
53 M_SETTINGS_NODE Instance attribute Protected Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Context Node for the Settings 20070612
54 M_SETTINGS_NODE_ID Instance attribute Protected Type reference (TYPE) STRING 'SETTINGS_NODE' ID of Settings Context 20070611
55 M_VIEW Instance attribute Protected Object reference (TYPE REF TO) IF_WD_VIEW View for which the ViewXplorer was instantiated 20070625
56 M_VIEW_ELEMENT Instance attribute Protected Object reference (TYPE REF TO) CL_WD_VIEW_ELEMENT Pointer to Current View Element 20070612
57 M_VIEW_ELEMENT_ID Instance attribute Protected Type reference (TYPE) STRING ID of Current View Element 20070625
58 M_VIEW_ELEMENT_RT Instance attribute Protected Object reference (TYPE REF TO) CL_WDR_VIEW_ELEMENT_RT_ACCESS Access to Further Data of the View Element 20070620
59 M_VX_PREFIX Instance attribute Protected Type reference (TYPE) STRING 'VX' Prefix for All Context and UI IDs of the ViewXplorer 20070615
Methods
# Method Level Visibility Method type Description Created on
1 ACTION_HANDLER Instance method Protected Method Listens to the events of the view 20070625
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070628
3 CONSTRUCTOR Instance method Protected Constructor CONSTRUCTOR 20070601
4 CREATE_ALL Instance method Protected Method All UI and contexts are (re)created 20070620
5 CREATE_BROWSER_CONTEXT Instance method Protected Method Creates context for the browser 20070606
6 CREATE_BROWSER_UI Instance method Protected Method Creates/updates the table wit the UI elements of the view 20070606
7 CREATE_CONTAINER Instance method Protected Method Creates a tray and appends it to the m_view 20070626
8 CREATE_EVENT_INFO_UI Instance method Protected Method Creates the display for the last event 20070627
9 CREATE_LIST_OF_HANDLERS Instance method Protected Method Creates list of all view-specific action handlers in view 20070627
10 CREATE_SETTINGS_CONTEXT Instance method Protected Method Creates context for the settings 20070606
11 CREATE_SETTINGS_UI Instance method Protected Method Creates/updates the UI for settings of LeadSel. in browser 20070606
12 CREATE_UI Instance method Protected Method Creates/updates the complete UI of the ViewXplorer 20070614
13 MAKE_CHANGES Instance method Protected Method Transfers setting changes to the UI in the View 20070618
14 ONACTION Static method Public Method Should be at the end of each event handler 20070629
15 PROCESS_VIEW_EVENT Instance method Protected Method Processes an event of the view 20070627
16 REFRESH Instance method Protected Method Creates or updates the ViewExplorer 20070615
17 UPDATE_DESIGN_TIME_AREA Instance method Protected Method 20100511
18 WDDOMODIFYVIEW Static method Public Method This method should be called at end WDDOMODIFYVIEW of view 20070628
Events
Class CL_WDR_VIEW_EXPLORER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_ACTION_HANDLER Protected See coding 20070627 BEGIN OF t_action_handler, ui_id TYPE string, event_name TYPE wdy_md_object_name, handler_name TYPE string, END OF t_action_handler
2 T_ACTION_HANDLERS Protected See coding 20070627 t_action_handlers TYPE HASHED TABLE OF t_action_handler WITH UNIQUE KEY ui_id event_name
3 T_BROWSER_NODE Public See coding 20070627 BEGIN OF t_browser_node, display TYPE wdy_ui_element_name, ICON TYPE string, ui_id TYPE wdy_ui_element_name, ui_type TYPE wdy_md_ui_element_def_name, ui_library TYPE wdy_md_ui_element_library, isleaf TYPE wdy_boolean, expanded TYPE wdy_boolean, parentkey TYPE string, rowkey TYPE string, END OF t_browser_node
4 T_BROWSER_NODES Public See coding 20070627 t_browser_nodes TYPE STANDARD TABLE OF t_browser_node
5 T_DESIGN_TIME_AREA_ELEMENT Public See coding 20100506 begin of t_design_time_area_element, view_element_ids type string, design type WDUI_DTEDESIGN, end of t_design_time_area_element
6 T_DESIGN_TIME_AREA_ELEMENTS Public See coding 20100506 t_design_time_area_elements type STANDARD TABLE OF t_design_time_area_element
7 T_EVENT_INFO Protected See coding 20070627 begin of t_event_info, label type string, value type string, end of t_event_info
8 T_EVENT_INFOS Protected See coding 20070627 t_event_infos type STANDARD TABLE OF t_event_info
Method Signatures

Method ACTION_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WDEVENT Call by reference Object reference (TYPE REF TO) CL_WD_CUSTOM_EVENT anwendungsdefinierter Event 20070625

Method ACTION_HANDLER on class CL_WDR_VIEW_EXPLORER has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WDR_VIEW_EXPLORER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTAINER Call by reference Object reference (TYPE REF TO) CL_WD_UIELEMENT_CONTAINER View-Xplorer zeigt nur Kinder dieses Containers 20070625
2 Importing I_CONTEXT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE das ist der zugehörige Context 20070604
3 Importing I_DISPLAY_TOP_CONTAINER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll der oberste container angezeigt werden? 20070628
4 Importing I_VIEW Call by reference Object reference (TYPE REF TO) IF_WD_VIEW In diesem View operiert der ViewXplorer 20070601

Method CONSTRUCTOR on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TOTAL_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20070629

Method CREATE_ALL on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_BROWSER_CONTEXT Signature

Method CREATE_BROWSER_CONTEXT on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_BROWSER_CONTEXT on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_BROWSER_UI Signature

Method CREATE_BROWSER_UI on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_BROWSER_UI on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CAPTION Call by reference Type reference (TYPE) STRING 20070626
2 Importing I_COLSPAN Call by reference Type reference (TYPE) I Anzahl der Spalten im Matrix Layout 20070626
3 Importing I_ID Call by reference Type reference (TYPE) STRING 20070626
4 Importing I_NEWLINE Call by reference Type reference (TYPE) ABAP_BOOL Soll eine neue Zeile im MatrixLayout begonnen werden? 20070627
5 Importing I_PARENT_CONTAINER Call by reference Object reference (TYPE REF TO) CL_WD_UIELEMENT_CONTAINER Dorthin wird der Container gehängt ansonsten in M_MASTER_CO. 20070627
6 Importing I_VGUTTER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE vgutter einblenden? 20070628
7 Importing I_WIDTH Call by reference Type reference (TYPE) STRING 20070626
8 Returning R_CONTAINER Value transfer Object reference (TYPE REF TO) CL_WD_SCROLL_CONTAINER 20070626

Method CREATE_CONTAINER on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_EVENT_INFO_UI Signature

Method CREATE_EVENT_INFO_UI on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_EVENT_INFO_UI on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_LIST_OF_HANDLERS Signature

Method CREATE_LIST_OF_HANDLERS on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_LIST_OF_HANDLERS on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_SETTINGS_CONTEXT Signature

Method CREATE_SETTINGS_CONTEXT on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_SETTINGS_CONTEXT on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_SETTINGS_UI Signature

Method CREATE_SETTINGS_UI on class CL_WDR_VIEW_EXPLORER has no parameter.
Method CREATE_SETTINGS_UI on class CL_WDR_VIEW_EXPLORER has no exception.

Method CREATE_UI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TOTAL_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll alle UI zerstört und wieder aufgebaut werden? 20070628

Method CREATE_UI on class CL_WDR_VIEW_EXPLORER has no exception.

Method MAKE_CHANGES Signature

Method MAKE_CHANGES on class CL_WDR_VIEW_EXPLORER has no parameter.
Method MAKE_CHANGES on class CL_WDR_VIEW_EXPLORER has no exception.

Method ONACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WDEVENT Call by reference Object reference (TYPE REF TO) CL_WD_CUSTOM_EVENT anwendungsdefinierter Event 20070629
2 Importing I_WD_CONTEXT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE WebDynpro: Schnittstelle für Kontext Knoten 20070629

Method ONACTION on class CL_WDR_VIEW_EXPLORER has no exception.

Method PROCESS_VIEW_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WDEVENT Call by reference Object reference (TYPE REF TO) CL_WD_CUSTOM_EVENT anwendungsdefinierter Event 20070627

Method PROCESS_VIEW_EVENT on class CL_WDR_VIEW_EXPLORER has no exception.

Method REFRESH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTAINER Call by reference Object reference (TYPE REF TO) CL_WD_UIELEMENT_CONTAINER View-Xplorer zeigt nur Kinder dieses Containers 20070628
2 Importing I_DISPLAY_TOP_CONTAINER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll der oberste Container mitangezeigt werden 20070628
3 Importing I_HANDLER_CHANGED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Wurde ein Event-Handler dynamisch geändert? 20070628
4 Importing I_TOTAL_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll der komplette ViewXplorer neu aufgebaut werden? 20070628
5 Importing I_UI_CHANGED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Wurden UI-Elemente dynamisch verändert? 20070628

Method REFRESH on class CL_WDR_VIEW_EXPLORER has no exception.

Method UPDATE_DESIGN_TIME_AREA Signature

Method UPDATE_DESIGN_TIME_AREA on class CL_WDR_VIEW_EXPLORER has no parameter.
Method UPDATE_DESIGN_TIME_AREA on class CL_WDR_VIEW_EXPLORER has no exception.

Method WDDOMODIFYVIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTAINER Call by reference Object reference (TYPE REF TO) CL_WD_UIELEMENT_CONTAINER View-Xplorer zeigt nur Kinder dieses Containers 20070628
2 Importing I_DISPLAY_TOP_CONTAINER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll der oberste Container mitangezeigt werden 20070628
3 Importing I_HANDLER_CHANGED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Wurde ein Event-Handler dynamisch geändert? 20070628
4 Importing I_TOTAL_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Soll der komplette ViewXplorer neu aufgebaut werden? 20070628
5 Importing I_UI_CHANGED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Wurden UI-Elemente dynamisch verändert? 20070628
6 Importing I_VIEW Call by reference Object reference (TYPE REF TO) IF_WD_VIEW Zeiger auf die View 20070628

Method WDDOMODIFYVIEW on class CL_WDR_VIEW_EXPLORER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 711