In the Web Dynpro perspective, the Web Dynpro Explorer displays the default view of the logical structure of the entire Web Dynpro application. The nodes and subnodes automatically created by the Web Dynpro Generator are the starting point for the creation of new application elements.
You open the Web Dynpro Explorer by choosing Windows → Show View → Web Dynpro Explorer from the menu. If you want to activate the Web Dynpro Explorer after working with another tool, choose the Web Dynpro Explorer tab:
In the Web Dynpro Explorer, all logical elements of the Web Dynpro application are displayed in a tree structure consisting of nodes, subnodes, and elements. The elements of a Web Dynpro application can be divided into required elements and optional elements:
Required elements |
Optional elements |
Application |
View set(s) |
Component(s) |
Custom controller(s) |
Component controller |
|
Model |
|
Project |
|
View(s) |
|
Window(s) |
|
The Web Dynpro Explorer also displays data types and structures that you defined for your Web Dynpro application in the Java Dictionary. The Java Dictionary objects you created in the Web Dynpro perspective at design time are available to the Web Dynpro application at runtime after you have deployed the Dictionary object It is therefore not necessary to switch to the Dictionary perspective of the SAP NetWeaver Developer Studio. Data types and structures are created in the Web Dynpro perspective in the same way as they are created in the Dictionary Perspective.
Creating database tables is supported solely in the Dictionary perspective of the SAP NetWeaver Developer Studio.
The Web Dynpro Explorer provides a create function for the application elements; you can make use of this function by choosing the context menu entry Create <WebDynproElement> for any logical main node. If a particular Web Dynpro tool is linked to the creation of a logical element, the tool is opened automatically. Similarly, if a specific definition process has wizard support, this wizard is started automatically.
Example:
When you create a custom controller, the controller assistant function is started as well.
To edit an application element, choose Edit from the context menu for the relevant element in the Web Dynpro Explorer. If a specific Web Dynpro tool is connected with a particular editing process, this tool is started automatically.
Example:
If you choose Edit in the context menu for a view name, the system opens the graphical View Designer tool.
Most application elements are also deleted using the context menu (choose Delete for the relevant element).
As well as the Web Dynpro Explorer, there are two other views for Web Dynpro projects, the Navigator and the Package Explorer. After with the Web Dynpro Explorer, the Navigator is the second default view to be opened for Web Dynpro applications. Both the Navigator and the Package Explorer are Eclipse views. These two additional views enable file-based viewing of the objects in a Web Dynpro application.
Information on working with the Web Dynpro elements is available in the individual terminology sections and in the tool descriptions.
For example, if you want to create a view, you should start by reading the terminology information under view. Then you should move on to the Navigation Modeler section to find out how a view is integrated in the structure of a Web Dynpro application and the View Designer section for information about layout design.
Information about the Navigator and the Package Explorer is available in the Eclipse Help (choose Help → Help Contents).