| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 2007. 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>Presentation options for Java views</title> |
| </head> |
| |
| <body> |
| <h1>Presentation Options for Java Views</h1> |
| |
| <h2>Showing and Hiding Method Return Types</h2> |
| |
| <p>Several Java views (e.g. <strong>Outline</strong>, <strong>Members</strong>) present methods and can also show their return types and type parameters.</p> |
| |
| <p>To show method return types in Java views select or clear the <span class="control">Show method return types</span> or <span class="control">Show method type parameters</span> checkbox in the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.AppearancePreferencePage)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Appearance preference page"> |
| <span class="control">Java > Appearance</span></a> preference page. |
| </p> |
| |
| <h2>Showing Full or Compressed Package Names</h2> |
| |
| <p>The <strong>Package Explorer</strong> and <strong>Packages</strong> views can show full or compressed package names.</p> |
| |
| <p>To show full package names:</p> |
| |
| <ul> |
| <li>Clear the <span class="control"> Compress all package name segments, except the final segment</span> checkbox |
| on the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.AppearancePreferencePage)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Appearance preference page"> |
| <span class="control">Java > Appearance</span></a> preference page.</li> |
| </ul> |
| To show compressed package names: |
| |
| <ul> |
| <li> |
| <p>Select the <span class="control">Compress all package name segments, except the final segment</span> |
| checkbox on the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.AppearancePreferencePage)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Appearance preference page"> |
| <span class="control">Java > Appearance</span></a> preference page.</p> |
| |
| <p>Compression patterns control how many characters of each package name |
| segment are displayed. The last segment of a package name is |
| always displayed.</p> |
| <p>A compression pattern of "." indicates that only the |
| separating periods are shown to represent a segment. A digit (n) |
| in a compression pattern represents the first n characters of a package name segment. |
| Examples are the best way to understand compression patterns. The |
| package <span class="control">org.eclipse.jdt </span>would be displayed |
| as follows using the example compression patterns:</p> |
| <p> <span class="control">. </span>..jdt</p> |
| <p><span class="control">0 </span>jdt</p> |
| <p><span class="control">2~ </span>or~.ec~.jdt</p> |
| <p> <span class="control">3~ </span>org.ecl~.jdt</p> |
| </li> |
| </ul> |
| <br> |
| <p><img src="../images/ngrelr.png" alt="Related reference" border="0" ><br> |
| <a href="../reference/preferences/java/ref-preferences-appearance.htm">Java appearance preference page</a><br> |
| <a href="../reference/views/ref-view-package-explorer.htm">Package explorer</a><br> |
| </p> |
| |
| </body> |
| </html> |
| |