View | Details | Raw Unified | Return to bug 187678 | Differences between
and this patch

Collapse All | Expand All

(-)guide/dialogs_FilteredItemsSelectionDialog.htm (-1 / +1 lines)
Lines 18-24 Link Here
18
<h2>Filtered item selection dialog</h2>
18
<h2>Filtered item selection dialog</h2>
19
<p><a
19
<p><a
20
	href="../reference/api/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.html">
20
	href="../reference/api/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.html">
21
<b>FilteredItemsSelectionDialog</b></a> is a poweful dialog for displaying a set
21
<b>FilteredItemsSelectionDialog</b></a> is a powerful dialog for displaying a set
22
of items to be selected by the user.  This dialog is used as the basis of the "Open Resource"
22
of items to be selected by the user.  This dialog is used as the basis of the "Open Resource"
23
and "Open Type" dialogs in the Eclipse SDK. You can create your own subclass of this
23
and "Open Type" dialogs in the Eclipse SDK. You can create your own subclass of this
24
dialog to quickly implement a similar dialog for your domain objects. Some of the
24
dialog to quickly implement a similar dialog for your domain objects. Some of the
(-)guide/dialogs_FilteredItemsSelectionDialog_example_advanced.htm (-3 / +3 lines)
Lines 106-112 Link Here
106
   private boolean onlyLowerCase = true;
106
   private boolean onlyLowerCase = true;
107
  	
107
  	
108
   private class ResourceFilter extends ItemsFilter {
108
   private class ResourceFilter extends ItemsFilter {
109
   public final boolean onlyLowerCase = FilteredResourcesSelectionDialog.this.onlyLowerCase;
109
   public final boolean onlyLowerCase = FilteredResourcesSelectionDialogExample.this.onlyLowerCase;
110
110
111
      public boolean matchItem(Object item) {
111
      public boolean matchItem(Object item) {
112
         String resource = item.toString();
112
         String resource = item.toString();
Lines 177-184 Link Here
177
            IAction.AS_CHECK_BOX);
177
            IAction.AS_CHECK_BOX);
178
      }
178
      }
179
      public void run() {
179
      public void run() {
180
         if (FilteredResourcesSelectionDialog.this.onlyLowerCase != isChecked()) {
180
         if (onlyLowerCase != isChecked()) {
181
            FilteredResourcesSelectionDialog.this.onlyLowerCase = isChecked();
181
            onlyLowerCase = isChecked();
182
            applyFilter();
182
            applyFilter();
183
         }
183
         }
184
      }
184
      }
(-)topics_Guide.xml (-3 / +3 lines)
Lines 82-90 Link Here
82
		</topic>
82
		</topic>
83
		<topic label="Wizard dialogs" href="guide/dialogs_wizards_wizarddialogs.htm" />
83
		<topic label="Wizard dialogs" href="guide/dialogs_wizards_wizarddialogs.htm" />
84
		<topic label="Multi-page wizards" href="guide/dialogs_wizards_multipage.htm" />
84
		<topic label="Multi-page wizards" href="guide/dialogs_wizards_multipage.htm" />
85
		<topic label="Filtered item selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog.htm">
85
		<topic label="Filtered items selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog.htm">
86
			<topic label="Creating a custom filtered item selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog_example.htm" />
86
			<topic label="Creating a custom filtered items selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog_example.htm" />
87
			<topic label="Advanced use of the filtered item selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog_example_advanced.htm" />
87
			<topic label="Advanced use of the filtered items selection dialog" href="guide/dialogs_FilteredItemsSelectionDialog_example_advanced.htm" />
88
	    </topic>
88
	    </topic>
89
	</topic>
89
	</topic>
90
	
90
	

Return to bug 187678