| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| <head> |
| <meta name="copyright" content= |
| "Copyright (c) IBM Corporation and others 2006, 2011. 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=utf-8" /> |
| <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 Element Decorations |
| </title> |
| |
| </head> |
| <body> |
| <h1> |
| Java Element Decorations |
| </h1> |
| <h2> |
| Override Indicators |
| </h2> |
| <p> |
| Java views can show special decoration icons to indicate methods that override or implement |
| methods from supertypes. |
| </p> |
| |
| <p> |
| To show or hide the override indicators, select or clear the <span class="control">Java |
| Method Override Indicator</span> checkbox in the <a class="command-link" href= |
| 'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.Decorators)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt= |
| "Opens the Appearance preference page" /> <span class="control">General > Appearance > |
| Label Decorations</span></a> preference page. |
| </p> |
| |
| <h2> |
| Java Type Indicator |
| </h2> |
| <p> |
| The package explorer can indicate the kind of Java type (Enum, Interface, Annotation) |
| contained in a Java file. |
| </p> |
| <p> |
| <em>Note:</em> |
| </p> |
| |
| <ul> |
| <li>If a Java file contains more than one top-level type, it is decorated according to its |
| primary type. |
| </li> |
| <li>No decoration is shown for classes, except for abstract classes. |
| </li> |
| </ul> |
| <p> |
| To show or hide the Java type indicators, select or clear the <span class="control">Java Type |
| Indicator</span> checkbox in the <a class="command-link" href= |
| 'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.Decorators)")'> |
| |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt= |
| "Opens the Label Decoarations preference page" /> <span class="control">General > |
| Appearance > Label Decorations</span></a> preference page. |
| </p> |
| <h3 class="related">Related references</h3> |
| <a href="../reference/preferences/java/ref-preferences-appearance.htm">Appearance preference |
| page</a><br /> |
| <a href="../reference/views/ref-view-package-explorer.htm">Package Explorer</a> |
| </body> |
| </html> |