* @param connectionsToDelete
* the Connections to delete
*/
private void deleteConnections( List<Connection> connectionsToDelete )
{
new CloseConnectionsJob( connectionsToDelete.toArray( new Connection[connectionsToDelete.size()] ) ).execute();
for ( Connection connection : connectionsToDelete )
{
ConnectionCorePlugin.getDefault().getConnectionManager().removeConnection( connection);
}
}