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
Frank Benoit is currently offline Frank BenoitFriend
Messages: 179
Registered: July 2009
Senior Member

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

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
Shenwei Zheng is currently offline Shenwei ZhengFriend
Messages: 22
Registered: December 2016
Junior Member
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.
Shenwei Zheng
Previous Topic:How to access contentChild of AddContentChildOperation
Next Topic:Save and Restore Models to file
Goto Forum:

Current Time: Thu May 30 10:03:43 GMT 2024

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

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

Back to the top