}
// Opening the SearchView and displaying the results
try
{
SearchView searchView = ( SearchView ) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow()
.getActivePage().showView( SearchView.ID );
searchView.setSearchInput( searchCombo.getText(), searchIn.toArray( new SearchInEnum[0] ), scope );
}
catch ( PartInitException e )
{
PluginUtils.logError( "An error occured when opening the view.", e );
ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the view." );