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

Bug 350997

Summary: Improper behavior for Model execution handler enablement.
Product: [Modeling] AMP Reporter: Miles Parker <milesparker>
Component: AXF UIAssignee: Jonas Ruttimann <jonas.ruettimann>
Status: ASSIGNED --- QA Contact: Miles Parker <milesparker>
Severity: normal    
Priority: P3    
Version: 0.9.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Miles Parker CLA 2011-07-02 15:35:31 EDT
Recent changes have removed some model control behavior. It should be possible to:

a) Close a model that is currently running. (With new handler behavior you have to stop it first.) Triggers transition {Active ->} Stopped -> Ending -> Ended.
b) Stop or close a model that is paused.

Basically, we just want to save the users from unnecessary extra steps.
Comment 1 Jonas Ruttimann CLA 2011-07-04 01:26:06 EDT
All right. I'll will correct that behavior.

(In reply to comment #0)
> Recent changes have removed some model control behavior. It should be possible
> to:
> 
> a) Close a model that is currently running. (With new handler behavior you have
> to stop it first.) Triggers transition {Active ->} Stopped -> Ending -> Ended.
> b) Stop or close a model that is paused.
> 
> Basically, we just want to save the users from unnecessary extra steps.
Comment 2 Jonas Ruttimann CLA 2011-07-04 11:23:21 EDT
I've refactored the Handlers and Commands and also all tests. Hope it's getting closer to what we want now.
Comment 3 Miles Parker CLA 2011-07-26 14:27:09 EDT
It seems to be working perfectly now as far as I can tell. Thanks!