Eclipse had a search field in the preferences list since version 3.1. This is defined not from UI but from a separate keyword extension instead. The keyword has an ID and a label, but the label isn't shown; rather, it's a space separated list of words which can be used in the filtering dialog. Perform the following steps:
To add the keywords
offset
andtimezone
to theClockPreferencePage
, create a new extension point inplugin.xml
fororg.eclipse.ui.keywords
:<extension point="org.eclipse.ui.keywords"> <keyword id="com.packtpub.e4.clock.ui.keywords"label="offset timezone"/> </extension>
Now associate these keywords with the preference page itself as follows:
<extension point="org.eclipse.ui.preferencePages"> <page name="Clock" ... > <keywordReference id="com.packtpub.e4.clock.ui.keywords"/> </page> </extension>
Run the Eclipse instance, go to the Preferences page and type
timezone
andoffset
in the search...