* @param entry
* the Entry to rename
*/
protected void renameEntry( final IEntry entry )
{
RenameEntryDialog renameDialog = new RenameEntryDialog( getShell(), entry );
if ( renameDialog.open() == Dialog.OK )
{
RDN newRdn = renameDialog.getRdn();
boolean deleteOldRdn = renameDialog.isDeleteOldRdn();
if ( newRdn != null && !newRdn.equals( entry.getRdn() ) )
{
new RenameEntryJob( entry, newRdn, deleteOldRdn ).execute();
}
}