Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 27693

Summary: [Dialogs] ProgressMonitorDialog doesn't allow cancel if not forked
Product: [Eclipse Project] Platform Reporter: Jared Burns <jared_burns>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jared Burns CLA 2002-12-04 15:06:30 EST
org.eclipse.ui.externaltools.internal.ant.view.actions.SearchForBuildFilesAction
creates a ProgressMonitorDialog and calls run(false, true, runnable). This
opens a progress monitor dialog that does not contain a Cancel button, even
though the "cancelable" parameter is set true. Calling 
run(true, true, runnable) with the same runnable opens a progress monitor
dialog with the Cancel button.

If the Cancel behavior requires "fork" to be true, the API should say so.
However, I think the presence of a Cancel button is often most important
when "fork" is false.
Comment 1 Tod Creasey CLA 2002-12-05 09:43:54 EST

*** This bug has been marked as a duplicate of 25608 ***