Sponsored Links
WebSphere Tutorials
- WebSphere V5.0 : Building Expressions
- WebSphere V5.0 : Creating SQL statements
- WebSphere V5.0 : Applying DDL scripts to a remote database
- WebSphere V5.0 : Deploying to the database
- WebSphere V5.0 : Defining a table
- WebSphere V5.0 : Defining a database
- Working with Data in WebSphere
- WebSphere V5.0 : Debugging - JSP debugging
- WebSphere V5.0 : Debugging - Scrapbook Page
- WebSphere V5.0 : Debugging - View variables
- WebSphere V5.0 : Debugging - Step-through code
- WebSphere V5.0 : Debugging - Set breakpoints
- WebSphere V5.0 : Running Applications - Export J2EE applications
- WebSphere V5.0 : Running Applications - Run/operate server
- WebSphere V5.0 : Running Applications - Understand Session Manager
- WebSphere V5.0 : Running Applications - Configure data sources
- WebSphere V5.0 : Running Applications - Create server instance and server configuration
- WebSphere V5.0 : Web Development - Use Web Page Wizards
- WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
- WebSphere V5.0 : Web Development - Use content assist
Tutorials
WebSphereWebSphere V5.0 : Java Development - Use Outline View and Browsing View
WebSphere V5.0 : Java Development - Use Outline View and Browsing View
In this tutorial you will learn about WebSphere V5.0 : Java Development - Use outline view, Outline view, Using the Outline View, Use Java browsing view, Java Browsing perspective, Projects view, Packages view. Types view and Members view.
Outline view
The outline view displays an outline of a structured file that is currently open in the editor area, and lists structural elements. The contents of the outline view are editor-specific. In the example below, which is for a Java source file, the structural elements are classes, fields, and methods. The contents of the toolbar are also editor-specific:

Using the Outline View
1. To open a Java file in the Java editor, double click on the file in the Package Explorer view.
2. Notice the syntax highlighting. Examples of parts of java source which are rendered differently are: Regular comments, Javadoc comments, Keywords, Strings:

3. Look at the Outline view. It displays an outline of the Java file including the package declaration, import declarations, fields, types and methods. The Outline view also indicates whether a Java element is static, abstract, final, etc. The outline view also shows you whether a method is overridden from a base class or when it implements a method from an interface.

4. Toggle the Hide Fields, Hide Static Members, and Hide Non-Public Members buttons in the Outline view toolbar to filter the view's display.

5. Toggle the Sort button in the Outline view to sort the Java elements in alphabetical order rather than in the order they appear in the Java file.

6. You can edit source code by viewing the whole Java file, or you can narrow the view to a single Java element. Click the Show Source of Selected Element Only button in the toolbar. Next, in the Outline view, select any element and note that only the selected element is displayed in the Java editor.

7. Press the Show Source of Selected Element Only button again to see the whole Java file again. In the Outline view, select different elements and note that they are once again displayed in a whole file view in the editor. The Outline view selection is now indicated with a range indicator on the vertical ruler on the left border of the Java editor.

Use Java browsing view
Java Browsing perspective
A perspective tuned for working with Java projects. It consists of an editor area and the following views:
Projects view
The Projects view shows Java projects, source folders, external and internal libraries. Note: source folders and libraries (both internal and external) presented in this view are not expandable. When they are selected, their contents are shown in the Packages view.
Packages view
The Packages view shows a list of Java packages from the currently selected Java projects, source folders or libraries. Typically, the Projects view is used to make this selection.
Types view
The Types view shows a list of Java types from the currently selected packages. Typically, the Packages view is used to make this selection.
Members view
The Members shows the content of a type, compilation unit or Class file. Typically, the Types view is used to make this selection.

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