blob: 6e37c976e22e3397ebd199796cbdbc8c230debfd [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2006. 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>
Type Selection Dialog
</title>
</head>
<body>
<h1>
Type Selection Dialog
</h1>
<p>
Type selection dialogs allow you to browse the workbench for a type.
</p>
<!-- Note: keep ref-148.htm and ref-148a.htm in sync when making changes here -->
<!-- =========================================== snip ======================================= -->
<ul>
<li>
<strong>Enter type name prefix or pattern</strong>: In this field, type the first few
characters of the type you want to select.
<p>The following pattern kinds are supported:
</p>
<strong>Wildcards</strong>:<br>
<ul>
<li>
<em>&quot;*&quot;</em> for any string and <em>&quot;?&quot;</em> for any character
</li>
<li>
terminating <em>&quot;&lt;&quot;</em> or <em>&quot; &quot;</em> (space)
to prevent the automatic prefix matching, e.g. <em>&quot;java.*Access&lt;&quot;</em>
to match <code>java.util.RandomAccess</code> but not <code>java.security.AccessControlContext</code>
</li>
</ul>
<strong>Camel case</strong>:<br>
<ul>
<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>
</li>
<li>
<em>&quot;NuPoEx&quot;</em> or <em>&quot;NuPo&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>
<li>
terminating &quot;&lt;&quot; or &quot; &quot; (space) to fix the number of camel-case parts,
e.g. &quot;HMap&lt;&quot; and &quot;HaMap&lt;&quot;
match &quot;HashMap&quot; and &quot;HatMapper&quot;, but not
&quot;HashMapEntry&quot; nor &quot;Hashmap&quot;.
</li>
</ul>
<p>
Both pattern kinds also support <strong>package prefixes</strong>, e.g.
<em>&quot;j.util.*Map&lt;&quot;</em>.
</p>
<br>
</li>
<li>
<strong>Matching items</strong>: This list displays matches for the pattern you type in the <strong>Enter type name prefix or pattern</strong> field.
Recently opened types show up in a history section at the top of the list.
</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">
Working Set actions
</td>
<td valign="top">
The search scope can be restricted by selecting one or more working sets
or the global Window Working Set.
</td>
<td valign="top">
Show all types in the workspace.
</td>
</tr>
<tr>
<td valign="top">
Type Filters...
</td>
<td valign="top">
Types are hidden if they match the global Java type filters.
</td>
<td valign="top">
Show all types in the workspace.
</td>
</tr>
</tbody>
</table>
<!-- =========================================== snip ======================================= -->
<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="../../org.eclipse.platform.doc.user/concepts/cworkset.htm">Working sets</a><br>
<a href="../reference/preferences/java/appearance/ref-preferences-type-filters.htm">Type Filters</a><br>
<a href="../reference/ref-148.htm">Open Type</a><br>
<a href="../reference/ref-menu-navigate.htm">Navigate actions</a>
</p>
</body>
</html>