Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How create shortcut key for zoom in/out
How create shortcut key for zoom in/out [message #1795750] Thu, 27 September 2018 19:44 Go to next message
Eclipse UserFriend
Hi

How can i registrer a custom key shortcut in IViewer?
How can make it to zoom in/out?

BR
Frank
Re: How create shortcut key for zoom in/out [message #1796101 is a reply to message #1795750] Fri, 05 October 2018 06:22 Go to previous message
Eclipse UserFriend
Hi Frank,
check out PanOrZoomOnScrollHandler, which supoorts zooming with the key Control and mouse Scrolling. You can of cause implement a customer zooming handler. But you will need understand how ViewportPolicy works.
Bests
Shenwei Zheng
Previous Topic:How to access contentChild of AddContentChildOperation
Next Topic:Save and Restore Models to file
Goto Forum:
  


Current Time: Tue Feb 18 22:57:18 GMT 2025

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

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

Back to the top