| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <title> |
| Viewing crosscutting information |
| </title> |
| <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"> |
| </head> |
| <body> |
| <h1> |
| Viewing crosscutting information |
| </h1> |
| <p> |
| In this section you are going to use the Cross References view to see how your |
| aspect advises your class. The cross references view shows crosscutting information |
| and can also be used to navigate. |
| </p> |
| |
| <ol> |
| <li> Make sure that your <em>World</em> aspect is open in the editor, and |
| check that <strong>Build Automatically</strong> is turned on from the |
| <strong>Project</strong> menu. |
| </li> |
| |
| <li> If the Cross References view is not already open, open it now. Select |
| <strong>Window > Show View > Other...</strong>. Expand the |
| <strong>AspectJ</strong> folder and select  <strong>Cross References</strong>. |
| Click <strong>Finish</strong> to open the view. |
| </li> |
| <li> Select the aspect declaration in the editor and make sure that the Cross References |
| view shows one <em>advises</em> relationship. |
| <p><img src="../images/xrefs.png" alt="Cross References view"> </p> |
| </li> |
| <li> Double click on the <strong>Hello.sayHello()</strong> method in the Cross References view. The |
| <em>Hello</em> class will open in the editor with the <em>sayHello()</em> method highlighted. |
| The cross references view has updated to show relationships for the new selection. |
| <p><img src="../images/xrefs2.png" alt="Cross References view"> </p> |
| </li> |
| </ol> |
| <p> |
| <img src="../images/ngrelc.gif" width=159 height=27 alt="Related concepts" border="0"> |
| </p> |
| <p> <a href="../concepts/views.htm">AspectJ views</a><br> |
| <a href="../concepts/editor.htm">AspectJ editor</a> </p> |
| <p> <img src="../images/ngrelt.gif" width=159 height=27 alt="Related tasks" border="0"> |
| </p> |
| <p> |
| <a href="../tasks/xrefview.htm">Using the Cross References view</a><br> |
| </p> |
| |
| </body> |
| </html> |
| |