blob: 946353240c64e35da597c3fe24758353963c6725 [file]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//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">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>
Open Type
</title>
</head>
<body>
<h1>
Open Type
</h1>
<p>
This command allows you to browse the workbench for a type to open in an editor or type hierarchy
</p>
<ul>
<li>
<strong>Select a type to open</strong>: In this field, type the first few characters of the type you want to open in an editor.
You may use wildcards as needed:
<ul>
<li><em>&quot;*&quot;</em> for any string and <em>&quot;?&quot;</em> for any character</li>
<li><em>&quot;TZ&quot;</em> for types containing <em>&quot;T&quot;</em> and <em>&quot;Z&quot;</em> as upper-case letters in camel-case notation, e.g. <code>java.util.TimeZone</code>, or</li>
<li><em>&quot;NuPoEx&quot;</em> for types containing <em>&quot;Nu&quot;</em>, <em>&quot;Po&quot;</em>, and <em>&quot;Ex&quot;</em> as parts in camel-case notation, e.g. <code>java.lang.NullPointerException</code>.</li>
</ul>
</li>
<li>
<strong>Matching types</strong>: This list displays matches for the expression you type in the <strong>Select a type to open</strong> field.
</li>
</ul>
<p>
The behavior of the <strong>Open Type</strong> dialog can be further customized using the dialog menu:
</p>
<table border="1" cellspacing="0" cellpadding="5">
<caption>
Open Type Preferences
</caption>
<thead>
<tr>
<th>
<p>
Option
</p>
</th>
<th>
<p>
Description
</p>
</th>
<th>
<p>
Default
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top">
Show Status Line
</td>
<td valign="top">
When selected, the <strong>Open Type</strong> dialog shows an additional bar at the bottom of the dialog which displays the package and containing
JRE of the selected type
</td>
<td valign="top">
Show status line
</td>
</tr>
<tr>
<td valign="top">
Show Container for Duplicates
</td>
<td valign="top">
When selected, all duplicate matches are displayed using fully qualified names, packages, and container information (e.g. the package and containing JRE)
</td>
<td valign="top">
Do not always show container
</td>
</tr>
</tbody>
</table>
<p>
Additionally, the dialog menu allows to use working sets to further constrain the matching types.
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="../tasks/tasks-76.htm">Opening an editor on a type</a><br>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference">
</p>
<p>
<a href="../reference/ref-menu-navigate.htm">Navigate actions</a>
</p>
</body>
</html>