Class MouseWheelZoomHandler

  • All Implemented Interfaces:
    MouseWheelHandler

    public final class MouseWheelZoomHandler
    extends java.lang.Object
    implements MouseWheelHandler
    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);
    Since:
    3.1