Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zooming
Zooming [message #243751] Tue, 17 June 2008 07:04 Go to next message
Shiva Selvadurai is currently offline Shiva SelvaduraiFriend
Messages: 25
Registered: July 2009
Location: Bangalore
Junior Member
I need to know if it is possible to zoom using mouse , just as we do in
Google Map.
Please let me know how it can be done.

-Shiva.S
Re: Zooming [message #243806 is a reply to message #243751] Thu, 19 June 2008 14:46 Go to previous message
Eclipse UserFriend
Originally posted by: ali.akar.geensys.com

yes its possible and so easy !

add this to your method configureGraphicalViewer()

viewer.setProperty(MouseWheelHandler.KeyGenerator.getKey(SWT .NONE),
MouseWheelZoomHandler.SINGLETON);

Ali,



Shiva Selvadurai a écrit :
> I need to know if it is possible to zoom using mouse , just as we do in
> Google Map.
> Please let me know how it can be done.
>
> -Shiva.S
>
Previous Topic:How to draw an oval with antialias?
Next Topic:Figure
Goto Forum:
  


Current Time: Tue Mar 19 11:47:48 GMT 2024

Powered by FUDForum. Page generated in 0.02178 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top