blob: 86c14d73a1e636e17cf56056a91b6806e2866d1d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<HEAD>
<meta name="copyright"
content="Copyright (c) IBM Corporation and others 2007. 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" type="text/css" HREF="../book.css">
<TITLE>Filtered item selection dialog</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<h2>Filtered item selection dialog</h2>
<p><a
href="../reference/api/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.html">
<b>FilteredItemsSelectionDialog</b></a> is a powerful dialog for displaying a set
of items to be selected by the user. This dialog is used as the basis of the "Open Resource"
and "Open Type" dialogs in the Eclipse SDK. You can create your own subclass of this
dialog to quickly implement a similar dialog for your domain objects. Some of the
dialog's key features include:
</p>
<ul>
<li>Support for multiple selections</li>
<li>Details field that shows information about the selected element</li>
<li>Uses JFace viewers, content and label providers</li>
<li>Background population, filtering, sorting, and refreshing of the item list</li>
<li>History of previously selected elements persisted across invocations</li>
<li>Supports for regular expression pattern matching and camel-case matching.
Filtering is implemented using <a
href="../reference/api/org/eclipse/ui/dialogs/SearchPattern.html"><b>SearchPattern</b></a></li>
</ul>
For examples illustrating how to create you own custom implementations of this dialog,
see the following:
<ul>
<li><a href="dialogs_FilteredItemsSelectionDialog_example.htm"> <b>Creating a custom filtered item selection dialog</b></a></li>
<li><a href="dialogs_FilteredItemsSelectionDialog_example_advanced.htm"><b>Advanced use of the filtered item selection dialog</b></a></li>
</ul>
</BODY>
</HTML>