Bug 157604 [Jobs] The following rule does not apply: Don't swallow InterruptedException. Call Thread.currentThread().interrupt()
examples/org.eclipse.ui.examples.job/src/org/eclipse/ui/examples/jobs/actions/CreateJobsAction.java
window.getShell(),
				"Likes to be left alone?", 
				null,
				"Press yes if the jobs should be run one at a time, and no otherwise", 
				MessageDialog.QUESTION,
				new String[] { IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL },
				1 
		);
		return dialog.open() == 0;
	}
	private boolean askForFailure() {
		MessageDialog dialog =
			new MessageDialog(
				window.getShell(),
				"Born to fail?", 
				null,
				"Should the jobs return an error status?", 
				MessageDialog.QUESTION,
				new String[] { IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL },
				1 
		);
		return dialog.open() == 0;
	}
	private int askForJobCount() {
		InputDialog dialog = new InputDialog(window.getShell(), "How much work?", "Enter the number of jobs to run", "100", new IInputValidator() { 
			public String isValid(String newText) {
				try {
					Integer.parseInt(newText);
				} catch (NumberFormatException e) {
					return "Not a number";