if ( eei != null )
{
memento.putString( "EXTENSION", eei.getExtension().getId() ); //$NON-NLS-1$
if ( eei.getEntryInput() != null )
{
IEntry entry = eei.getEntryInput();
memento.putString( "TYPE", "IEntry" ); //$NON-NLS-1$ //$NON-NLS-2$
memento.putString( "DN", entry.getDn().getUpName() ); //$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$