} else if (activityType == VCSActivity.Type.Disconnect) {
vcs.disconnect(project, revision != null, progress);
} else if (activityType == VCSActivity.Type.Switch) {
vcs.switch_(resource, url, revision, progress);
} else if (activityType == VCSActivity.Type.Update) {
vcs.update(resource, revision, progress);
} else {
log.error("VCS activity type not implemented yet.");
}
log.trace("progressMonitorDialog.run done");
}