|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.MouseWheelZoomHandler
A MouseWheelHandler that zooms the given viewer.
Typically, this handler should be registered on a viewer that supports zoom as follows:
graphicalViewer.setProperty(MouseWheelHandler.KeyGenerator.getKey(SWT.MOD1),
MouseWheelZoomHandler.SINGLETON);
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.gef.MouseWheelHandler |
MouseWheelHandler.KeyGenerator |
| Field Summary | |
static MouseWheelHandler |
SINGLETON
The Singleton |
| Method Summary | |
void |
handleMouseWheel(Event event,
EditPartViewer viewer)
Zooms the given viewer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final MouseWheelHandler SINGLETON
| Method Detail |
public void handleMouseWheel(Event event,
EditPartViewer viewer)
handleMouseWheel in interface MouseWheelHandlerevent - The SWT event that was generated as a result of the mouse-wheel scrollingviewer - The originating viewerMouseWheelHandler.handleMouseWheel(Event, EditPartViewer)
|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||