Bug 366161 - Add callback (CancelListener) to IProgressMonitor
Summary: Add callback (CancelListener) to IProgressMonitor
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.7.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 04:48 EST by Missing name CLA
Modified: 2018-06-18 11:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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