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/views/JobsView.java
keepOneField = new Button(group, SWT.CHECK);
		keepOneField.setText("KeepOne"); 
		data = new GridData(GridData.FILL_HORIZONTAL);
		keepOneField.setLayoutData(data);
		
		unknownField = new Button(group, SWT.CHECK);
		unknownField.setText("Indeterminate Progress"); 
		data = new GridData(GridData.FILL_HORIZONTAL);
		unknownField.setLayoutData(data);
		
		userField = new Button(group, SWT.CHECK);
		userField.setText("User job"); 
		data = new GridData(GridData.FILL_HORIZONTAL);
		userField.setLayoutData(data);
		
		
		gotoActionField = new Button(group, SWT.CHECK);
		gotoActionField.setText("Goto action"); 
		data = new GridData(GridData.FILL_HORIZONTAL);
		gotoActionField.setLayoutData(data);
	}
	protected void doRun(long duration, IProgressMonitor monitor) {
		final long sleep = 10;
		int ticks = (int) (duration / sleep);
		monitor.beginTask("Spinning inside IProgressService.busyCursorWhile", ticks); 
		monitor.setTaskName("Spinning inside IProgressService.busyCursorWhile"); 
		for (int i = 0; i < ticks; i++) {
			monitor.subTask("Processing tick #" + i); 
			if (monitor.isCanceled())
				return;