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
static final long DELAY = 100;
	private IWorkbenchWindow window;
	private long askForDuration() {
		InputDialog dialog = new InputDialog(window.getShell(), "How long?", "Enter the number of milliseconds per job", "1000", new IInputValidator() { 
			public String isValid(String newText) {
				try {
					Long.parseLong(newText);
				} catch (NumberFormatException e) {
					return "Not a number"; 
				}
				return null;
			}
		});
		if (dialog.open() == Window.CANCEL)
			throw new OperationCanceledException();
		return Long.parseLong(dialog.getValue());
	}
	private boolean askForExclusive() {
		MessageDialog dialog =
			new MessageDialog(