Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zoom failure(Zoom failure)
Zoom failure [message #545604] Thu, 08 July 2010 12:10
pipoeclipse  is currently offline pipoeclipse Friend
Messages: 1
Registered: July 2010
Junior Member
Hello, I start using RCP & GEF through a little draw application (rectangle/line..) with layer,thumbnail, palet, ruler and .... zoom functionality.
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 Confused
I search since 2 days without any answer. I thunk zoom function was entirely integrated (as thumbnail which manages all aspects)

Any help will very appreciated...
Valentin


Previous Topic:Integrate Form items in GEF
Next Topic:distribute freehand drawing extension for GEF
Goto Forum:
  


Current Time: Thu Sep 26 12:15:09 GMT 2024

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

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

Back to the top