{
if ( entries.length == 1 )
{
try
{
EntryEditorInput input = new EntryEditorInput( entries[0] );
view.getSite().getPage().openEditor( input, EntryEditor.getId(), false );
}
catch ( PartInitException e )
{
}
}
else if ( searchResults.length == 1 )
{
try
{
EntryEditorInput input = new EntryEditorInput( searchResults[0] );
view.getSite().getPage().openEditor( input, EntryEditor.getId(), false );
}
catch ( PartInitException e )
{
}
}
else if ( bookmarks.length == 1 )
{
try
{
EntryEditorInput input = new EntryEditorInput( bookmarks[0] );
view.getSite().getPage().openEditor( input, EntryEditor.getId(), false );
}
catch ( PartInitException e )
{
}