Patch Set 1: Looks good to me, but someone else must approve

Would be good to use the monitor to record the number of projects.

monitor.beginTask("Refreshing projects",projects.length)
for(project:projects)
if(monitor.cancelled())
  break;
...
refreshLocal(INFINITE,new SubTaskMonitor( monitor, 1) );
monitor.worked(1);
}
monitor.done();