IBrowserConnection conn = ( IBrowserConnection ) getInput();
LdapDN dn = Utils.getLdapDn( getStringFromClipboard() );
DnDialog dialog = new DnDialog( getShell(), "Go to DN", "Please enter the DN you want to go to.", conn, dn );
if ( dialog.open() == TextDialog.OK && dialog.getDn() != null )
{
dn = dialog.getDn();
return new ConnectionAndDn( conn, dn );
}
}