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