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

Bug 476556

Summary: Add support for an AbstractScrollGesture.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.1.0   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-09-03 09:18:10 EDT
Scrolling with the mouse wheel should probably be encapsulated by an AbstractScrollGesture which can take care of assembling individual scroll events into one gesture, i.e. reporting the begin (first scroll event), intermediate steps (subsequent scroll events), and the end (no scroll event for X millis) of the scroll gesture.
Comment 1 Matthias Wienand CLA 2016-01-06 09:37:14 EST
I implemented the AbstractScrollGesture as described in the initial comment. Accordingly, I adjusted the FXScrollTool, and AbstractOnScrollPolicy and its implementations. The scroll gesture abstraction allows to undo the actions of multiple scroll events at once. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.11.0M5.