|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MouseWheelHelper
MouseWheelHelpers provide each EditPart to handle mouse-wheel events in their
own desired way. By default, when mouse-wheel events are generated that have
no stateMask, a default MouseWheelHandler
delegates the task to the
MouseWheelHelper that is returned by the getAdapter() method of the EditPart
in focus.
The most common usage of MouseWheelHelpers involves scrolling of an EditPart's figure. They should be returned in the EditPart's getAdapter() method.
ViewportMouseWheelHelper
Method Summary | |
---|---|
void |
handleMouseWheelScrolled(Event event)
Handles mouse-wheel events. |
Method Detail |
---|
void handleMouseWheelScrolled(Event event)
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 scrolling
|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |