{
SearchResultEditor editor = ( SearchResultEditor ) part;
IEditorInput input = editor.getEditorInput();
if ( input != null && input instanceof SearchResultEditorInput )
{
SearchResultEditorInput srei = ( SearchResultEditorInput ) input;
objectToSelect = srei.getSearch();
}
}
if ( objectToSelect != null )
{