CommitUI commitUI = new CommitUI(getShell(), repository,
new IResource[0], true);
shouldContinue = commitUI.commit();
break;
case IDialogConstants.ABORT_ID:
final ResetOperation operation = new ResetOperation(repository,
Constants.HEAD, ResetType.HARD);
String jobname = NLS.bind(UIText.ResetAction_reset, Constants.HEAD);
JobUtil.scheduleUserWorkspaceJob(operation, jobname,
JobFamilies.RESET);
shouldContinue = true;