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

Bug 341932

Summary: [evaluator] support evaluation abort
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-04-05 11:34:30 EDT
The console can start an evaluation of indeterminate length:

e.g

let i : Integer = 1000000000 in Sequence{1..i}->sum()*2/i-1

takes a few minutes.

a) Don't evaluate in the UI thread
b) Provide an abort capability
Comment 1 Ed Willink CLA 2011-05-07 13:18:52 EDT
CancelableTypeManager/ValueFactory and CancelableEvaluationVisitor intrioducerd to poll for cancel.
Comment 2 Ed Willink CLA 2012-05-29 13:23:13 EDT
Closing all bugs resolved in Indigo.