{
IConnection[] connections = BrowserCorePlugin.getDefault().getConnectionManager().getConnections();
for ( int i = 0; i < connections.length; i++ )
{
IConnection connection = connections[i];
URL connectionUrl = connection.getUrl();
if ( connectionUrl != null && referralUrl.toString().startsWith( connectionUrl.toString() ) )
{
this.mainWidget.getViewer().reveal( connection );
this.mainWidget.getViewer().setSelection( new StructuredSelection( connection ), true );
}
}