Exforsys

WebSphere Tutorials

  1. WebSphere V5.0 : Building Expressions
  2. WebSphere V5.0 : Creating SQL statements
  3. WebSphere V5.0 : Applying DDL scripts to a remote database
  4. WebSphere V5.0 : Deploying to the database
  5. WebSphere V5.0 : Defining a table
  6. WebSphere V5.0 : Defining a database
  7. Working with Data in WebSphere
  8. WebSphere V5.0 : Debugging - JSP debugging
  9. WebSphere V5.0 : Debugging - Scrapbook Page
  10. WebSphere V5.0 : Debugging - View variables
  11. WebSphere V5.0 : Debugging - Step-through code
  12. WebSphere V5.0 : Debugging - Set breakpoints
  13. WebSphere V5.0 : Running Applications - Export J2EE applications
  14. WebSphere V5.0 : Running Applications - Run/operate server
  15. WebSphere V5.0 : Running Applications - Understand Session Manager
  16. WebSphere V5.0 : Running Applications - Configure data sources
  17. WebSphere V5.0 : Running Applications - Create server instance and server configuration
  18. WebSphere V5.0 : Web Development - Use Web Page Wizards
  19. WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
  20. WebSphere V5.0 : Web Development - Use content assist
  21. WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
  22. WebSphere V5.0 : Web Development - Understand classpath and module dependencies
  23. WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
  24. WebSphere V5.0 : Web Development - Create a web project
  25. WebSphere V5.0 : Java Development - Use property dialogues
  26. WebSphere V5.0 : Java Development - Use hierarchy view
  27. WebSphere V5.0 : Java Development - Use task view
  28. WebSphere V5.0 : Java Development - Use search function
  29. WebSphere V5.0 : Java Development - Use content assist function and declarations
  30. WebSphere V5.0 : Java Development - Use refactoring features
  31. WebSphere V5.0 : Java Development - Use Outline View and Browsing View
  32. WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
  33. WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
  34. WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
  35. WebSphere V5.0 : Workbench Basics - Work with Perspectives
  36. WebSphere V5.0 : Workbench Basics - Set workbench preferences
  37. WebSphere V5.0 : Workbench Basics - Create J2EE projects

Ads


Home arrow Reviews arrow WebSphere Tutorials

WebSphere V5.0 : Java Development - Use hierarchy view

Author : Exforsys Inc.     Published on: 4th Apr 2006

WebSphere V5.0 : Java Development - Use hierarchy view

In this tutorial you will learn about WebSphere V5.0 : Java Development - Use hierarchy view, Opening a type hierarchy on a Java element, Type Hierarchy view, Type Hierarchy tree pane toolbar buttons, Member list pane toolbar buttons, J2EE Hierarchy view and Links view.

Ads

Use hierarchy view

Opening a type hierarchy on a Java element

There are six ways to open a type hierarchy. Select a java element in a Java view and:

  • Press F4
    .
  • Choose Open Type Hierarchy from the view’s pop-up menu
    .
  • Drag and drop the element to the Hierarchy view
    .
  • Press Ctrl + Shift + H and select a type from the list in the resulting dialog (this works only for classes and interfaces)
    .
  • Select Navigate > Open Type in Hierarchy from the menu bar
    .
  • Select Focus On... from the pop-up menu of the type hierarchy viewer.

Type Hierarchy view

This view shows the hierarchy of a type. The Type Hierarchy view consists of two panes:

  • Type Hierarchy tree pane
    .
  • Member list pane (optional)


Type Hierarchy View

Type Hierarchy tree pane toolbar buttons

Show the Type Hierarchy (Ctrl + 1)

Show the Type Hierarchy Button

This command displays the type in its full context (i.e., superclasses and subclasses) in the Hierarchy view. To see for which type the hierarchy is shown, hover over the view title (e.g., "Types").

Type Hierarchy

Show the Supertype Hierarchy (Ctrl + 2)

Show the Supertype Hierarchy Button

This command displays the supertypes and the hierarchy of all implemented interfaces of the type in the Hierarchy view. The tree starts at the selected type and displays the result of traversing up the hierarchy. Note: The selected type is always at the top level, in the upper-left corner.

Supertype Hierarchy

Show the Subtype Hierarchy (Ctrl + 3)

Show the Subtype Hierarchy Button

This command displays the subtypes of the selected class and/or all implementers of the interface in the Hierarchy view. The tree starts at the selected type and displays the result of traversing down the hierarchy. Note: The selected type is always at the top level, in the upper-left corner.

Subtype Hierarchy

Member list pane toolbar buttons

The member list pane displays the members of the currently selected type in the type hierarchy tree pane.

Lock View and Show Members in Hierarchy

Lock View and Show Members in Hierarchy

Shows the members implementing the selected method. Only types implementing the method are shown. When the view is locked, the member list pane no longer tracks the selection in the hierarchy pane above.

Show All Inherited Members

Show All Inherited Members

Shows or hides all methods and fields inherited by base classes. When this option is set, the name of the type that defines the method is appended to the method name.

Hide Fields

Hide Fields

Shows or hides the fields.

Hide Static Members

Hide Static Members

Shows or hides the static fields and methods.

Hide Non-Public Members

Hide Non-Public Members

Shows or hides the static fields and methods.

J2EE Hierarchy view

The J2EE Hierarchy view displays the model objects for each of your J2EE projects. This view does not display the actual underlying resources. It only displays the model objects that are represented in these resources. Therefore, not all actions are available from the J2EE Hierarchy view, and file-based options (like those available from the Project Navigator view) do not apply. For example, because the Tasks Filter works off of the file system, it does not work in the J2EE Hierarchy view.

You should use this view to view your J2EE deployment descriptors with their content. You can easily view an enterprise application project and see all of the modules associated with it. Within each module, you will be able to see the objects that are represented in each module. By double-clicking on modules in the J2EE Hierarchy view, you can edit your descriptor files.

There are eight groups in the J2EE Hierarchy view. Each view represents a different part of an enterprise application:

J2EE Hierarchy

Enterprise Applications - Shows a hierarchical view of the deployment descriptors for all enterprise application projects.

Application Client Modules - Shows a hierarchical view of the deployment descriptors for all application client projects.

Connector Modules - Shows a hierarchical view of the deployment descriptors for all connector projects.

Web Modules - Shows a hierarchical view of the deployment descriptors for all Web projects.

EJB Modules - Shows a hierarchical view of the deployment descriptors for all EJB projects. Each EJB project contains the following sub-folders for organizing the different types of beans and the mappings: Session Beans, Entity Beans, Message-Driven Beans and Maps.

Databases - Shows database files in any project of the workbench. This view is similar to the Data Definition view used in the Data perspective.

Servers and Server Configurations - Shows a tree view similar to the tree views in the Server Configuration view of the Server perspective. The same actions are available in both views.

Links view

The Links view (Window > Show View > Links) shows the files in your projects, the linkages between them and the characteristics of those linkages. This view helps you distinguish between different types of links, shows you the number of links to target files and indicates where documents have broken links or links to external files.

The Links view is like the J2EE Navigator view in that you can open files by double-clicking on the file icons it displays. Similarly, the J2EE Navigator view shows you a file system hierarchical view of your project and the Links view shows you the hierarchical relationship of your files, based on the links between them.

Ads

When files contain links to other files, they can be described as having parent-child relationships. When a file is in focus in the Links view, you can see the hierarchical relationships between it and the files to which it links. You can look at the parents (the files to the left) that contain links to the file in focus and the children (the files to the right) that are the targets of the links.

Hypertext links in HTML files are displayed as arrows between the files in the Links view. Hypertext links can be divided into different types. The Links view shown here displays examples of the most common kinds of links:

Links view

_____________
Author: Mikalai Zaikin. Please Click Here to visit Authors site for any updates and changes to the study notes.



 
This tutorial is part of a WebSphere Tutorials tutorial series. Read it from the beginning and learn yourself.

WebSphere Tutorials

  1. WebSphere V5.0 : Building Expressions
  2. WebSphere V5.0 : Creating SQL statements
  3. WebSphere V5.0 : Applying DDL scripts to a remote database
  4. WebSphere V5.0 : Deploying to the database
  5. WebSphere V5.0 : Defining a table
  6. WebSphere V5.0 : Defining a database
  7. Working with Data in WebSphere
  8. WebSphere V5.0 : Debugging - JSP debugging
  9. WebSphere V5.0 : Debugging - Scrapbook Page
  10. WebSphere V5.0 : Debugging - View variables
  11. WebSphere V5.0 : Debugging - Step-through code
  12. WebSphere V5.0 : Debugging - Set breakpoints
  13. WebSphere V5.0 : Running Applications - Export J2EE applications
  14. WebSphere V5.0 : Running Applications - Run/operate server
  15. WebSphere V5.0 : Running Applications - Understand Session Manager
  16. WebSphere V5.0 : Running Applications - Configure data sources
  17. WebSphere V5.0 : Running Applications - Create server instance and server configuration
  18. WebSphere V5.0 : Web Development - Use Web Page Wizards
  19. WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
  20. WebSphere V5.0 : Web Development - Use content assist
  21. WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
  22. WebSphere V5.0 : Web Development - Understand classpath and module dependencies
  23. WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
  24. WebSphere V5.0 : Web Development - Create a web project
  25. WebSphere V5.0 : Java Development - Use property dialogues
  26. WebSphere V5.0 : Java Development - Use hierarchy view
  27. WebSphere V5.0 : Java Development - Use task view
  28. WebSphere V5.0 : Java Development - Use search function
  29. WebSphere V5.0 : Java Development - Use content assist function and declarations
  30. WebSphere V5.0 : Java Development - Use refactoring features
  31. WebSphere V5.0 : Java Development - Use Outline View and Browsing View
  32. WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
  33. WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
  34. WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
  35. WebSphere V5.0 : Workbench Basics - Work with Perspectives
  36. WebSphere V5.0 : Workbench Basics - Set workbench preferences
  37. WebSphere V5.0 : Workbench Basics - Create J2EE projects
 

Comments