| Summary: | [Scripting] Please add MouseWheel - Event Support in the ClientListener and ClientListenerBindingSynchronizer Class | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Samy Abou-Shama <sa> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | ivan, tbuschto | ||||||
| Version: | 2.0 | ||||||||
| Target Milestone: | 2.2 M2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Samy Abou-Shama
Created attachment 225340 [details]
proposed changes
Created attachment 225341 [details]
proposed changes
I was about to implement this, but the changes you attached can't work / are incomplete. Without changes to the JavaScript part it wont't do anything, especially not prevent an event, the doit flag is only supported on key and vertify events. If you have it working already, attach the complete changes, ideally as a patch. In SWT the mousewheel event can be used to prevent scrolling or changing the Combo selection. This is not trivial to implement in RAP since the widget itself listens to the same event and the order in which the listeners are notified would be undefined. However, as a first step MouseWheel event could be implemented without doit flag support. MouseWheel events are supported in RWT Scripting as of commit 0bfe3116f4f8263761394ba6b7ce1895daf53046 (2.2M2), but the doit flag only works to prevent scrolling. |