{
StringBuffer sb = new StringBuffer();
new CopyEntryAsLdifAction( CopyEntryAsLdifAction.MODE_INCLUDE_OPERATIONAL_ATTRIBUTES )
.serialializeEntries( new IEntry[]
{ ( IEntry ) o }, sb );
LdifFile model = new LdifParser().parse( sb.toString() );
treeViewer.setInput( model );
treeViewer.expandToLevel( 2 );
}
}
}