try {
// TODO Should these operations run in an IWorkspaceRunnable?
Shell shell = EditorAPI.getAWorkbenchWindow().getShell();
ProgressMonitorDialog progressMonitorDialog = new ProgressMonitorDialog(
shell);
progressMonitorDialog.open();
Shell pmdShell = progressMonitorDialog.getShell();
pmdShell.setText("Saros running VCS operation");
log.trace("about to call progressMonitorDialog.run");
progressMonitorDialog.run(true, false, new IRunnableWithProgress() {
public void run(IProgressMonitor progress)