blob: b07f64421783525b85dea586bb38d3ef8e94f00d [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Basic tutorial
</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>
Opening an editor on a type
</h1>
<p>
You can open an editor on any type in the workbench. As of AJDT 1.6.2, Aspects
appear in the standard Java open type dialog along with classes, interfaces, and enums.
</p>
<p>
To activate the open type dialog, press <strong>Alt+Shift+T</strong> or,
select <strong>Navigate</strong> &gt; <strong>Open AspectJ Type</strong> from the menu bar.
</p>
<!--
<ol>
<li>
Press <strong>Alt+Shift+A</strong> or, select <strong>Navigate</strong> &gt; <strong>Open AspectJ Type</strong> from the menu bar. The Open Type dialog opens.
</li>
<li>
In the <strong>Choose a type</strong> field, begin typing an expression to narrow the list of available types, using wildcards as needed. As you
type, the list is filtered to display only types that match the current expression.
</li>
<li>
In the <strong>Matching types</strong> list, select a type. When there is more than one definition of a type, then select a package in
the <strong>Qualifier</strong> list.
</li>
<li>
Click <strong>OK</strong> when you are done. An editor opens on the selected type.
</li>
</ol>
<p>
<strong>Note: </strong> The Java development tools Open Type dialog (Ctrl+Shift+T) can also be used to open Java types, but note that
this dialog is not aware of aspects. The <strong>Open AspectJ Type</strong> dialog can be used to open all AspectJ and Java types.
</p>
-->
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159">
</p>
<p>
<a href="../concepts/editor.htm">AspectJ editor</a><br>
<a href="../concepts/aspects.htm">Aspects</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="openhierarchy.htm">Opening a type in the type hierarchy view</a>
</p>
</body>
</html>