Tutorials
WebSphereIn 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.
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:

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.

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.