Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsZoom failure
https://www.eclipse.org/forums/index.php/mv/msg/171529/545604/#msg_545604
I implement at some points the right code (ZoomManager, level ,contribution, zoomin/out actions in my ScalableFreeformRootEditPart) inside configureGraphicalViewer(), getAdapter() returns the getZoomManager(), all this code in my main GraphicalEditorWithFlyoutPalette and as last code in ActionbarContributor for menu & toolbar.
If the zoom level is 100% (factor=1) never change and when I draw a rectangle, ellipse it appears OK in place of my select mouse rectangle area.
If the zoom is fixed up to 200% (factor=2), my rectangle/ellipse/.. (I drag from palet) of 2x2 squares (on my grid) is drawn on 4x4 squares when I release mouse .. so the factor multiply the select mouse area by the zoom factor
I search since 2 days without any answer. I thunk zoom function was entirely integrated (as thumbnail which manages all aspects)