String cancelConfirmationQuestion) {
IWorkbench workbench = PlatformUI.getWorkbench();
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
RepositorySaveableFilter filter = new RepositorySaveableFilter(
repository);
boolean success = workbench.saveAll(window, window, filter, true);
if (success && cancelConfirmationQuestion != null && filter.isAnythingSaved()){
// allow the user to cancel the operation to first do something with
// the newly saved files
String[] buttons = new String[] { IDialogConstants.YES_LABEL,
IDialogConstants.NO_LABEL };