blob: cf5a8cff24b87352eb0b51ec4a19a22f6428f35e [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Comparing two elements
</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>
Comparing two elements
</h1>
<p>
To compare the crosscutting of two advice or two declare elements, or one of each:
</p>
<ol>
<li>Select the two elements in the Outline View or Package Explorer.</li>
<li>Right click and select <b>Compare Crosscutting With
&gt; Each Other.</b>
</ol>
<p>
The results of the comparison are then shown in the
<b>Crosscutting Comparison</b> view, which is opened in the current
perspective if it is not already showing.
</p>
<p>
The <b>Propagate Up</b> toggle button can be used to adjust the granularity of
the comparison. By default the comparison is exact - the join points
affected by each element must match. When the toggle is selected, all
join points which occur within methods (calls made within the method, or catch
blocks for example) are propagated up to the enclosing method, and the
comparison is then performed between those methods.
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br>
<a href="comparetwo.htm">Comparing two builds</a><br>
<a href="compareone.htm">Comparing with the current build</a><br>
</p>
</body>
</html>