|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> | 
|  | <html> | 
|  | <head> | 
|  | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 
|  | <meta name="generator" content="Adobe RoboHelp 8"> | 
|  | <title>Override Indicators</title> | 
|  | <link rel="StyleSheet" href="default.css" type="text/css"> | 
|  | <style type="text/css"> | 
|  | <!-- | 
|  | body { border-left-style:None; | 
|  | border-right-style:None; | 
|  | border-bottom-style:None; | 
|  | background-color:Transparent; | 
|  | border-top-style:None; } | 
|  | --> | 
|  | </style> | 
|  | <style type="text/css"> | 
|  | <!-- | 
|  | body { border-left-style:None; | 
|  | border-right-style:None; | 
|  | border-bottom-style:None; | 
|  | background-color:Transparent; | 
|  | border-top-style:None; } | 
|  | --> | 
|  | </style> | 
|  | <script type="text/javascript" language="JavaScript"> | 
|  | //<![CDATA[ | 
|  | function reDo() { | 
|  | if (innerWidth != origWidth || innerHeight != origHeight) | 
|  | location.reload(); | 
|  | } | 
|  | if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { | 
|  | origWidth = innerWidth; | 
|  | origHeight = innerHeight; | 
|  | onresize = reDo; | 
|  | } | 
|  | onerror = null; | 
|  | //]]> | 
|  | </script> | 
|  | <style type="text/css"> | 
|  | <!-- | 
|  | div.WebHelpPopupMenu { position:absolute; | 
|  | left:0px; | 
|  | top:0px; | 
|  | z-index:4; | 
|  | visibility:hidden; } | 
|  | p.WebHelpNavBar { text-align:right; } | 
|  | --> | 
|  | </style> | 
|  | <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> | 
|  | <script type="text/javascript" language="javascript" src="whver.js"></script> | 
|  | <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> | 
|  | <script type="text/javascript" language="javascript1.2" src="whutils.js"></script> | 
|  | <script type="text/javascript" language="javascript1.2" src="whlang.js"></script> | 
|  | <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> | 
|  | <script type="text/javascript" language="javascript1.2">//<![CDATA[ | 
|  | <!-- | 
|  | if (window.gbWhTopic) | 
|  | { | 
|  | var strUrl = document.location.href; | 
|  | var bc = 0; | 
|  | var n = strUrl.toLowerCase().indexOf("bc-"); | 
|  | if(n != -1) | 
|  | { | 
|  | document.location.href = strUrl.substring(0, n); | 
|  | bc = strUrl.substring(n+3); | 
|  | } | 
|  |  | 
|  | if (window.setRelStartPage) | 
|  | { | 
|  | addTocInfo("Concepts\nOverride Indicators"); | 
|  | addAvenueInfo("Concepts","hover_support.htm","php_working_sets.htm"); | 
|  |  | 
|  | } | 
|  |  | 
|  | document.write("<p style=\"text-align:left\"> "); | 
|  | AddMasterBreadcrumbs("ide_help.htm", "", ">", "Home", "pdt_table_of_contents.htm"); | 
|  | document.write("<a href=\"concepts.htm\">Concepts<\/a> > Override Indicators<\/p>"); | 
|  |  | 
|  |  | 
|  | if (window.setRelStartPage) | 
|  | { | 
|  | setRelStartPage("ide_help.htm"); | 
|  |  | 
|  | autoSync(0); | 
|  | sendSyncInfo(); | 
|  | sendAveInfoOut(); | 
|  | } | 
|  |  | 
|  | } | 
|  | else | 
|  | if (window.gbIE4) | 
|  | document.location.reload(); | 
|  | //--> | 
|  | //]]></script> | 
|  | </head> | 
|  |  | 
|  | <body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><script type="text/javascript" language="javascript1.2">//<![CDATA[ | 
|  | <!-- | 
|  | if (window.writeIntopicBar) | 
|  | writeIntopicBar(4); | 
|  | //--> | 
|  | //]]></script> | 
|  | <div style="width: 100%; position: relative;" id="header"> | 
|  |  | 
|  |  | 
|  | <p align="right"><a | 
|  | title="Documentation Survey" href="http://spreadsheets.google.com/viewform?formkey=dC1scEswTjFia2tDQ3Y5TVJBbkNQcWc6MQ">Documentation | 
|  | Survey</a> | 
|  | | <a href="javascript:crlf="";h=location.href;t=document.title;e = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location="mailto:documentation@zend.com" + "?Subject= Feedback on PDT for page " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; void 0"><span | 
|  | style="background-color: #ffffff;">Submit Documentation</span><span | 
|  | style="background-color: #ffffff;"> Feedback</span></a><span | 
|  | style="background-color: #ffffff;"></span><span style="background-color: #ffffff;"> | 
|  | </span><span style="background-color: #ffffff;">| | 
|  | </span><span | 
|  | style="background-color: #ffffff;"><a title="View Latest Version and Get PDF Online" | 
|  | href="http://www.zend.com/en/resources/zend-documentation/" | 
|  | target="_blank">View Latest | 
|  | Version and Get PDF Online</a></span></p> | 
|  | </div> | 
|  |  | 
|  |  | 
|  | <h1>Override Indicators | 
|  | </h1> | 
|  | <p>‘Override Indicators’ are markers that display special decoration icons | 
|  | to indicate methods that override or implement other methods from a super-type's | 
|  | class/interface.</p> | 
|  | <p>The override indicators will be displayed as triangles in the marker | 
|  | bar (the vertical ruler to the left of the editor) next to the method's | 
|  | definition.</p> | 
|  | <p class="picture"><img src="override_indicators.png" alt="Override Indicators" title="Override Indicators" style="border: none;" width="428" height="164" border="0"></p> | 
|  | <p>Green triangles indicate an overridden method, while a white triangle | 
|  | indicates an implemented method.</p> | 
|  | <p> </p> | 
|  | <p>Hovering over a triangle displays a tool-tip that reveals the overridden | 
|  | or implemented method's super-type. Clicking the triangle will open the | 
|  | type in an editor.</p> | 
|  | <p class="picture"><img src="override_indicator_tooltip.png" alt="Override Indicators Tooltip" title="Override Indicators Tooltip" style="border: none;" width="294" height="46" border="0"></p> | 
|  | <p style="font-weight: bold;">Note:</p> | 
|  | <p>Markers will not be displayed if the methods do not comply with the | 
|  | overriding rules.</p> | 
|  | <p>These are as follows:</p> | 
|  | <ul type="square"> | 
|  | <li><p>You cannot override a non-static method with a static method.</p></li> | 
|  | <li><p>The overriding method must not be more restrictive than the | 
|  | overridden method</p></li> | 
|  | <li><p>‘private’ methods are not inherited and cannot be overridden.</p></li> | 
|  | </ul> | 
|  | <p class="ListBullet1"> </p> | 
|  | <h5>Override Indicators Preferences</h5> | 
|  | <p>The display preferences for the override indicators can be configured | 
|  | from the <a href="../../PLUGINS_ROOT/org.eclipse.platform.doc.user/reference/ref-22.htm">Annotations | 
|  | preferences page</a> (<span style="font-weight: bold;"><b>Window | Preferences | 
|  | | General | Editors | Text Editors | Annotations</b></span>).</p> | 
|  | <p>Select the Override Indicators (org.eclipse.php.ui.overrideIndicator) | 
|  | option to configure the Override Indicators for PHP.</p> | 
|  | <table cellspacing="0" width="100%"> | 
|  | <col style="width: 7.093%;"> | 
|  | <col style="width: 92.907%;"> | 
|  | <tr style="vertical-align: top; | 
|  | height: 16px;"> | 
|  | <td style="width: 7.093%; padding-right: 10px; | 
|  | padding-left: 10px;"><p | 
|  | style="font-size: 6pt;"> </p></td> | 
|  | <td style="width: 92.907%; | 
|  | padding-right: 10px; padding-left: 10px;"><p> </p></td> | 
|  | </tr> | 
|  | <tr style="vertical-align: top; | 
|  | height: 35px;"> | 
|  | <td style="width: 7.093%; padding-right: 10px; | 
|  | padding-left: 10px;"><p | 
|  | style="font-size: 6pt;"><img src="link_icon.png" alt="link_icon.png" style="border: none;" width="32" height="40" border="0"> | 
|  | </p></td> | 
|  | <td style="width: 92.907%; | 
|  | padding-right: 10px; padding-left: 10px;"><p><span | 
|  | style="font-weight: bold;"><b>Related Links:</b></span><a href="mark_occurrences.htm"><br> | 
|  | Mark Occurrences</a></p> | 
|  | <p><a href="show_type_hierarchy.htm">Type Hierarchy</a></p></td> | 
|  | </tr> | 
|  | <tr style="vertical-align: top; | 
|  | height: 19px;"> | 
|  | <td style="width: 7.093%; padding-right: 10px; | 
|  | padding-left: 10px;"><p | 
|  | style="font-size: 6pt;"> </p></td> | 
|  | <td style="width: 92.907%; | 
|  | padding-right: 10px; padding-left: 10px;"><p> </p></td> | 
|  | </tr> | 
|  | </table> | 
|  | <div style="width: 100%; position: relative;" id="footer"> | 
|  |  | 
|  | <p style="text-decoration: underline; " | 
|  | align="center">PHP Development | 
|  | Tools</p> | 
|  |  | 
|  |  | 
|  | </div> | 
|  | <script type="text/javascript" language="javascript1.2">//<![CDATA[ | 
|  | <!-- | 
|  | if (window.writeIntopicBar) | 
|  | writeIntopicBar(0); | 
|  |  | 
|  | highlightSearch(); | 
|  | //--> | 
|  | //]]></script> | 
|  | </body> | 
|  | </html> |