| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| <title>Java Views</title> |
| </head> |
| |
| <body> |
| <h1>Java Views</h1> |
| |
| <p>The Java development tools contribute the following views to the workbench:</p> |
| |
| <h2>Java</h2> |
| |
| <ul> |
| <li><h3>Package Explorer View</h3> |
| <p>The Package Explorer view shows a Java-specific view of resources inside Java projects in your workbench. |
| The Java element hierarchy is defined by the project's build class paths and consists of elements like</p> |
| <ul> |
| <li>source folders and libraries</li> |
| <li>packages</li> |
| <li>source and class files</li> |
| <li>types, methods, fields and initializers</li> |
| </ul> |
| <br> |
| </li> |
| |
| <li><h3>Type Hierarchy View</h3> |
| <p>The Type Hierarchy view allows you to look at the complete hierarchy for a |
| type, only its subtypes, or only its supertypes. You can also open the hierarchy on a project, source folder |
| or package.</p> |
| </li> |
| |
| <li><h3>Call Hierarchy View</h3> |
| <p>The Call Hierarchy view allows you to look at the callers and callees for a selected Java member.</p> |
| </li> |
| |
| <li><h3>Java Outline View</h3> |
| <p>The Java Outline view displays an outline of the structure of the currently-active Java file in the editor area.</p> |
| </li> |
| |
| <li><h3>JUnit View</h3> |
| <p>The JUnit view shows you the JUnit test run progress and status, and allows you to rerun tests.</p> |
| </li> |
| |
| <li><h3>Javadoc View</h3> |
| <p>The Javadoc view shows the Javadoc of the element selected in the Java editor or in a Java view.</p> |
| </li> |
| |
| <li><h3>Declaration View</h3> |
| <p>The Declaration view shows the source of the element selected in the Java editor or in a Java view.</p> |
| </li> |
| |
| </ul> |
| |
| <h2>Java Browsing</h2> |
| <ul> |
| <li><h3>Projects View</h3> |
| <p>The Projects view shows Java projects, source folders, external and internal libraries. |
| <br> |
| 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.</p> |
| </li> |
| |
| <li><h3>Packages View</h3> |
| <p>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. |
| </p> |
| </li> |
| |
| <li><h3>Types View</h3> |
| <p>The Types view shows a list of Java types from the currently selected packages. |
| Typically, the Packages view is used to make this selection. |
| </p> |
| </li> |
| |
| <li><h3>Members View</h3> |
| <p>The Members shows the content of a type, compilation unit or CLASS file. |
| Typically, the Types view is used to make this selection. |
| </p> |
| </li> |
| |
| </ul> |
| |
| <h2>Debug</h2> |
| |
| <ul> |
| |
| <li><h3>Debug View</h3> |
| <p>The Debug View allows you to manage the debugging or running of a program in the workbench. It |
| displays the stack frame for the suspended threads for each target you are debugging. Each thread in |
| your program appears as a node in the tree. It displays the process for each target you are running.</p> |
| </li> |
| |
| <li><h3>Breakpoints View</h3> |
| <p>The Breakpoints View lists all the breakpoints you currently have set in your workspace. |
| You can also enable or disable breakpoints, delete them, add new ones, group them by working set, or |
| configure attributes of a selected breakpoint.</p> |
| </li> |
| |
| <li><h3>Expressions View</h3> |
| <p>Data can be inspected in the Expressions View. You can inspect data from a scrapbook page, a stack |
| frame of a suspended thread, and other places. The Expressions View opens automatically when an item is |
| added to the view. Entries in the Expressions View can be selected to have more detailed information be |
| displayed in the Detail Pane. When debugging a Java program, data that contains variables can be expanded |
| to show the variables and the fields the variables contain.</p> |
| </li> |
| |
| <li><h3>Variables View</h3> |
| <p>The Variables View displays information about the variables associated with the stack frame selected |
| in the Debug View. When debugging a Java program, variables can be selected to have more detailed |
| information be displayed in the Detail Pane. In addition, Java objects can be expanded to show the fields |
| that variable contains.</p> |
| </li> |
| |
| <li><h3>Console View</h3> |
| <p>The Console View displays a variety of console types depending on the type of development |
| and the current set of user settings. The consoles that are provided by default with the Eclipse Platform are:</p> |
| <ul> |
| <li>The Process Console </li> |
| <li>The Stacktrace Console </li> |
| <li>The CVS Console</li> |
| <li>The OSGi Console</li> |
| </ul> |
| <br> |
| </li> |
| |
| <li><h3>Display View</h3> |
| <p>The Display View displays the result of evaluating an expression in the context of the current stack |
| frame. You can evaluate and display a selection either from the editor or directly from the Display View.</p> |
| </li> |
| |
| </ul> |
| |
| <h1>View Customization</h1> |
| <p>Both the appearance and behavior of the Java views can be customized.</p> |
| <ul> |
| <li><a href="concept-java-views-filtering.htm">Filtering</a></li> |
| <li><a href="concept-java-views-sorting.htm">Sorting</a></li> |
| <li><a href="concept-java-views-decorators.htm">Java element decorations</a></li> |
| <li><a href="concept-java-views-presentation.htm">Presentation options</a></li> |
| </ul> |
| |
| <p><img src="../images/ngrelc.png" alt="Related concepts"></p> |
| <p><a href="../concepts/concept-java-perspective.htm">Java perspectives</a></p> |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks"></p> |
| <p> |
| <a href="../tasks/tasks-consoleAppearance.htm">Changing the appearance of the Console view</a> |
| </p> |
| |
| <p><img border="0" src="../images/ngrelr.png" alt="Related reference"></p> |
| <p> |
| <a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints view</a><br> |
| <a href="../reference/views/console/ref-console_view.htm">Console view</a><br> |
| <a href="../reference/views/debug/ref-debug_view.htm">Debug view</a><br> |
| <a href="../reference/views/display/ref-display_view.htm">Display view</a><br> |
| <a href="../reference/views/expressions/ref-expressions_view.htm">Expressions view</a><br> |
| <a href="../reference/views/ref-view-outline.htm">Java outline</a><br> |
| <a href="../reference/views/ref-view-package-explorer.htm">Package Explorer view</a><br> |
| <a href="../reference/views/ref-type-hierarchy.htm">Type Hierarchy view</a><br> |
| <a href="../reference/views/ref-call-hierarchy.htm">Call Hierarchy view</a><br> |
| <a href="../reference/views/variables/ref-variables_view.htm">Variables view</a><br> |
| <a href="../reference/views/ref-viewsandeditors.htm">Views and editors</a><br> |
| <br> |
| </p> |
| |
| </body> |
| </html> |
| |