blob: dcb2234ba49ead53f14747667a6f22c7411a9c23 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Opening an editor on a type
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Opening an editor on a type
</h1>
<p>
You can open an editor on any type in the workbench.
</p>
<ol>
<li>
Press <strong>Ctrl+Shift+T</strong> or, select <strong>Navigate</strong> &gt; <strong>Open 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. Hint: you can press the <Strong>Down</strong> key to move to the first type.
</li>
<li>
Click <strong>OK</strong> when you are done. An editor opens on the selected type.
</li>
</ol>
<p>
<strong>Note:</strong> The Open Type dialog maintains a history of recently opened types.
These are shown when the dialog is opened and stay above a separator line when you start to type a filter expression.
</p>
<p>
<strong>Note:</strong> If you open a type from a CLASS or JAR file, you will see a special editor showing only method signatures unless you have attached source to it.
</p>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
</p>
<p>
<a href="../concepts/concepts-7.htm">Java editor</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-115.htm">Attaching source to a JAR file</a><br>
<a href="tasks-73.htm">Opening an editor for a selected element</a><br>
<a href="tasks-54.htm">Using the Java editor</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-148.htm">Open Type dialog</a>
<a href="../reference/ref-menu-navigate.htm">Navigate actions</a><br>
<a href="../reference/views/ref-viewsandeditors.htm">Views and editors</a>
</p>
</body>
</html>