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