repaint handle on zoom [message #163337] |
Fri, 07 January 2005 13:16  |
Eclipse User |
|
|
|
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 10:58  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04615 seconds