Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Search Host

Monthly Fee($)
Disk Space (MB)
Register With us for Newsletter!
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

Tutorials

Java Server Pages

JAXB

Java Beans

JDBC

MySQL

Java Servlets

Struts

Bioinformatics

Java Code Examples

Interview Questions

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Web Promotion

Web Submission

Submit Sites

Manual Submission?

Web Promotion Guide

Hosting Companies

Web Hosting Guide

Web Hosting

Linux

Beginner Guide to Linux Server

Frameworks

Persistence Framework

Web Frameworks

Free EAI Tools

Web Servers

Aspect Oriented Programming

Free Proxy Servers

Softwares

Adware & Spyware Remover

Open Source Softwares

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.

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

RoseIndia.net
Join Our Java  News Group


Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum

About Us | Advertising On RoseIndia.net

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2004. All rights reserved.