Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Remove Zoom Levels
Remove Zoom Levels [message #1789892] Thu, 31 May 2018 12:41 Go to next message
Nathan B is currently offline Nathan BFriend
Messages: 3
Registered: May 2018
Junior Member
Hi,
I'm new to Graphiti and i would like to know if there was an easy way to remove some zoom levels in the toolbar and with the mouse wheel, for example the 1%, 10% and 20%.

Thank you :)
Re: Remove Zoom Levels [message #1790048 is a reply to message #1789892] Mon, 04 June 2018 08:55 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Nathan,

you can define your ToolBehaviorProvider and use that in your tool. It contains the method getZoomLevels() that you can override to return only the zoom levels you want to allow.

Michael
Re: Remove Zoom Levels [message #1790173 is a reply to message #1790048] Wed, 06 June 2018 12:51 Go to previous message
Nathan B is currently offline Nathan BFriend
Messages: 3
Registered: May 2018
Junior Member
It worked very well, Thank you
Previous Topic:Delete Shapes inside Containershape
Next Topic:Drag and Drop doesn't work from ResourceNavigator
Goto Forum:
  


Current Time: Sat Oct 12 10:27:05 GMT 2024

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

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

Back to the top