memento.putString( "Dn", entry.getDn().getName() ); //$NON-NLS-1$
memento.putString( "CONNECTION", entry.getBrowserConnection().getConnection().getId() ); //$NON-NLS-1$
}
else if ( eei.getSearchResultInput() != null )
{
ISearchResult searchResult = eei.getSearchResultInput();
memento.putString( "TYPE", "ISearchResult" ); //$NON-NLS-1$ //$NON-NLS-2$
memento.putString( "Dn", searchResult.getDn().getName() ); //$NON-NLS-1$
memento.putString( "SEARCH", searchResult.getSearch().getName() ); //$NON-NLS-1$
memento.putString(
"CONNECTION", searchResult.getSearch().getBrowserConnection().getConnection().getId() ); //$NON-NLS-1$
}
else if ( eei.getBookmarkInput() != null )
{
IBookmark bookmark = eei.getBookmarkInput();
memento.putString( "TYPE", "IBookmark" ); //$NON-NLS-1$ //$NON-NLS-2$