The window editor is the tool for creating and editing Web Dynpro windows.
The Window Editor comes in the following variants, where they usually each contain the same functionality:
Classic Window Editor
Window Editor in the classic tree view (standard setting).
Example
(WDR_TEST_ENHANCEMENTS)
Graphic Window Editor
Window Editor with graphical user guide.
The JNet ActiveX Control is a prerequisite for the graphical Window Editor which can be isntalled directly as part of the SAP GUI installation.
Example
(WDR_TEST_ENHANCEMENTS)
Note
You can switch between both Window Editor variants using Switch Window Editor View.
Every element of the classic tree display of the Window Editor is represented in the graphical Window Editor.
Element |
Equivalent in the Graphical Window Editor |
---|---|
window |
Representation through entire background of the graphic. |
Window Plugs |
Positioning on the Background of the Graphic |
Views |
Positioning on the Background of the Graphic |
Container |
Positioning in the Related Views |
Assigned Views |
Positioning in the Related Containers |
Inbound plugs |
Blue Display with Horizontal Orientation |
Outbound plugs |
Red Display with Vertical Orientation |
Default Views |
Dark Blue Display |
Normal Views |
Light Blue Display |
Obsolete Elements |
Red Lines or Outlines |
Elements in Enhancement Mode |
Blue Lines or Outlines Note Since enhanced objects cannot be changed in change mode, the blue lines are shown here as broken. End of the note. |
The color of the background of the graphic depends on the current mode:
Mode |
Example of the Visual Display |
Description |
---|---|---|
Display Mode |
(View with Inbound Plug for Display) |
Objects on Light Background |
Change Mode |
(View with Inbound Plug for Change) |
Objects on White Background |
Enhancement Mode |
(View with Inbound Plug for Enhancement) (Enhanced Objects) |
Objects on Yellow Background. Note Enhanced objects have a thicker line or outline. End of the note. |
Note
The window is not specifically shown in the graphical Window Editor but rather it is represented in the background of the graphic. If a window or its root node is selected in thre tree view then no entry is shown as selected when switching to the graphical view. Only the properties table below the graphic shows the general properties of the window.
Note that it is currently not possible to drag and drop objects from the object tree of the Web Dynpro Explorer to the graphical Window Editor.
In the graphic Window Editor, the context menus for individual elements (views, containers, plugs, navigation links) correspond to the context menus of these elements in the classic Window Editor.
Some exceptions for this are the context menus for entries that are disabled. These are not displayed in the graphical Window Editor.
In the graphic Window Editor you can use drag and drop for the following actions for navigation links:
Delete
Select
Change
You can also change the assignment using drag and drop.
Just like a Web Dynpro view, a Web Dynpro window consists of a graphic part, a controller part and inbound and outbound plugs. The layout of the window is maintained in the graphics part, that is, the embedded views as well as the navigation between the views. The window controller on the other hand contains a context, methods and attributes.
You can create windows on a component-local basis. In this case, the system does not generate an interface view. This means that you cannot use the window in question in another component.
The technical properties of a Web Dynpro window controller are the same as those of a Web Dynpro view. You can therefore declare a controller usage for a window, so you can exchange context data or use methods.
More information: Controller Properties