blob: 783048e175aca05730c29f7726c8774da9dcbcb6 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. 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">
<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>Enter type name prefix or pattern</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. CamelCase notation is also supported; that means you aonly need to enter the capital letters
of the type name.
</li>
<li>
In the <strong>Matching items</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/concept-java-editor.htm">Java editor</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-73.htm">Opening an editor for a selected element</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-dialog-open-type.htm">Open type dialog</a><br>
<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>