blob: 70aeb37fd81f74857c807a4d73e8cf62483d5dc5 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Creating a new aspect
</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>
Creating a new aspect
</h1>
<p>
Use the New Aspect wizard to create a new aspect. There are a number of ways to open this wizard:
</p>
<ol>
<li>
Select the container where you want the new class to reside.
</li>
<li>
Click the <strong>New Aspect</strong> button in the workbench toolbar.
</li>
</ol>
<p>
or
</p>
<ol>
<li>
Select the container where you want the new class to reside.
</li>
<li>
From the container's pop-up menu, select <strong>New</strong> &gt; <strong>Aspect</strong>.
</li>
</ol>
<p>
or
</p>
<ol start="1" type="1">
<li>
Select the container where you want the new class to reside.
</li>
<li>
From the drop-down menu on the <strong>New</strong> button in the workbench toolbar, select <strong>Aspect</strong>.
</li>
</ol>
<p>
or
</p>
<p>
Click the <strong>New</strong> button in the workbench toolbar to open the <strong>New</strong> wizard.
In the left pane, select <strong>AspectJ</strong>, and in the right pane, select
<strong>Aspect</strong>.
</p>
<p>
or
</p>
<p>
Select the container where you want the new class to reside. Then, select from the menu bar <strong>File</strong> &gt; <strong>New</strong> &gt;
<strong>Aspect</strong>.
</p>
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159">
</p>
<p>
<a href="../concepts/projects.htm">AspectJ projects</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="ajelements.htm">Creating AspectJ elements</a><br>
<a href="ajprojects.htm">Creating AspectJ projects</a><br>
<a href="toplevelaspect.htm">Creating a top-level aspect</a><br>
<a href="nestedaspect.htm">Creating a nested aspect</a>
</p>
</body>
</html>