|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MouseWheelHandlers can be
registered
on an EditPartViewer with keys generated by the KeyGenerator. GEF
tools delegate handling of mouse-wheel events to MouseWheelHandlers, if there are no
drag trackers active.
Nested Class Summary | |
static class |
MouseWheelHandler.KeyGenerator
A utility class used to generate keys from a given stateMask. |
Method Summary | |
void |
handleMouseWheel(Event event,
EditPartViewer viewer)
Handles mouse-wheel events. |
Method Detail |
public void handleMouseWheel(Event event, EditPartViewer viewer)
doit
field should be set to false so as to prevent further
processing of that event.
event
- The SWT event that was generated as a result of the mouse-wheel scrollingviewer
- The originating viewer
|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |