{
try
{
if ( runnable instanceof StudioConnectionBulkRunnableWithProgress )
{
StudioConnectionBulkRunnableWithProgress bulkRunnable = ( StudioConnectionBulkRunnableWithProgress ) runnable;
ConnectionEventRegistry.suspendEventFiringInCurrentThread();
try
{
bulkRunnable.run( spm[0] );
}
finally
{
ConnectionEventRegistry.resumeEventFiringInCurrentThread();
}
bulkRunnable.runNotification( spm[0] );
}
else
{
runnable.run( spm[0] );
}