Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » repaint handle on zoom
repaint handle on zoom [message #163337] Fri, 07 January 2005 18:16 Go to next message
Eclipse UserFriend
Originally posted by: none.none.com

How to force a handle to repaint with the updated dimensions when the zoom
factor changes? I registered the handle as a ZoomListener, but
invalidate/revalidate/validate/repaint do not refresh the handle figure with
the right size (still the old size). If I make the handle disappear and
reappear by clicking on the editpart, then it is updated correctly.

Thanks,

David
Re: repaint handle on zoom [message #163424 is a reply to message #163337] Mon, 10 January 2005 15:58 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Zooming should fire figure moved, which causes the handle's ancestor
listener to receive notification, and it should revalidate().

"David Michonneau" <none@none.com> wrote in message
news:crmjlt$1j7$1@www.eclipse.org...
> How to force a handle to repaint with the updated dimensions when the zoom
> factor changes? I registered the handle as a ZoomListener, but
> invalidate/revalidate/validate/repaint do not refresh the handle figure
with
> the right size (still the old size). If I make the handle disappear and
> reappear by clicking on the editpart, then it is updated correctly.
>
> Thanks,
>
> David
>
>
Previous Topic:GEF Editor pop-ups freeze workbench (3.0RC2, GEF3 build I20040615)
Next Topic:Perspective Problem
Goto Forum:
  


Current Time: Thu Apr 25 08:33:54 GMT 2024

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

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

Back to the top