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
}
		});
		
		
		Button showInDialog = new Button(group, SWT.PUSH);
		showInDialog.setText("showInDialog"); 
		showInDialog.setToolTipText("Uses IProgressService.showInDialog"); 
		showInDialog.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		showInDialog.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				showInDialog();
			}
		});
		
	}
	
	/**
	 * Test the showInDialog API
	 *
	 */
	protected void showInDialog() {
		
		Job showJob = 
			new Job("Show In Dialog"){
			protected IStatus run(IProgressMonitor monitor) {
				monitor.beginTask("Run in dialog",100);
				
				for (int i = 0; i < 100; i++) {
					if (monitor.isCanceled())
						return Status.CANCEL_STATUS;