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

Bug 366161

Summary: Add callback (CancelListener) to IProgressMonitor
Product: [Eclipse Project] Platform Reporter: Missing name <bnord01>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: pwebster, remy.suen, sw
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Missing name CLA 2011-12-09 04:48:12 EST
Build Identifier: M20110909-1335

I think the IProgressMonitor interface somehow misses a callback functionality.
When one waits for an external resource it is very inconvenient that there is no way to be notified when setCanceled(true) is invoked and one has to explicitly start a new thread and check for the flag to change. 

Reproducible: Always