{
public void run()
{
SelectReferralConnectionDialog dialog = new SelectReferralConnectionDialog( PlatformUI.getWorkbench()
.getDisplay().getActiveShell(), referralUrl );
if ( dialog.open() == SelectReferralConnectionDialog.OK )
{
Connection connection = dialog.getReferralConnection();
referralUrlToReferralConnectionCache.put( referralUrl, connection );
referralConnection[0] = connection;
}