| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <title>Showing full or compressed package names</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script> |
| </head> |
| |
| <body> |
| <h1>Showing full or compressed package names</h1> |
| |
| <p>Package Explorer and Packages 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"> |
| <span class="control">Java > Appearance</span></a> preference page.</li> |
| </ul> |
| To show compressed package names: |
| |
| <ul> |
| <li> |
| <p>Check 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"> |
| <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> |
| |
| <p><img src="../images/ngrelr.png" alt="Related reference" border="0" ><br> |
| <a href="../reference/ref-preferences-appearance.htm">Java Appearance preference page</a><br> |
| <a href="../reference/ref-view-package-explorer.htm">Package Explorer</a><br> |
| </p> |
| |
| |
| </body> |
| </html> |
| |