blob: c8121e0f7ff885548c9e7d12598e6748a43b890a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. 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=utf-8" />
<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 only 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>
<h3 class="related">Related concepts</h3>
<a href="../concepts/concept-java-editor.htm">Java editor</a>
<h3 class="related">Related tasks</h3>
<a href="tasks-73.htm">Opening an editor for a selected element</a>
<h3 class="related">Related references</h3>
<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>
</body>
</html>