quickSearch = new QuickSearch( searchBase, browserConnection );
widget.setQuickSearch( quickSearch );
}
// Creating and opening the dialog
PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), quickSearch,
BrowserCommonConstants.PROP_SEARCH, null, null );
dialog.getShell().setText(
NLS.bind( Messages.getString( "PropertiesAction.PropertiesForX" ), //$NON-NLS-1$
Utils.shorten( quickSearch.getName(), 30 ) ) );
if ( dialog.open() == PreferenceDialog.OK )
{
// Performing the quick search if it has not been performed before
// (ie. the quick search was not modified at in the dialog)
if ( quickSearch.getSearchResults() == null )
{