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

Bug 486852

Summary: Interaction policies need to be notified when the associated scene's window is inactivated.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-01-29 11:10:44 EST
When the window of the scene for which a tool registered listeners (see bug #486833) is inactivated, the tool needs to notify its active policies about this, so that the policies can abort or commit their changes.
Comment 1 Matthias Wienand CLA 2016-02-01 05:40:31 EST
I added methods for handling the loss of viewer focus to the interaction policy interfaces, implemented the new methods in the interaction policies by rolling back the transactional policies that have been initialized, and implemented notifying the policies about losing viewer focus in the tools. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.11.0M5.