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
try {
				Thread.sleep(sleep);
			} catch (InterruptedException e) {
				
			}
			monitor.worked(1);
		}
	}
	protected void doRunInWorkspace(final long duration, IProgressMonitor monitor) {
		try {
			ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
				public void run(IProgressMonitor monitor) throws CoreException {
					doRun(duration, monitor);
				}
			}, monitor);
		} catch (CoreException e) {
			e.printStackTrace();
		}
	}
	protected long getDuration() {
		switch (durationField.getSelectionIndex()) {
			case 0 :
				return 0;
			case 1 :
				return 1;
			case 2 :
				return 1000;
			case 3 :
				return 10000;
			case 4 :