Skip to main content



      Home
Home » Eclipse Projects » GEF » Refreshing Problem
Refreshing Problem [message #61764] Tue, 04 February 2003 05:45 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

Please see attached picture. I have a refreshing problem with an EditPart
that shows a FlowPage as figure. The EditPart uses a slightly modified
ResizableEditPolicy. I'm wondering if I made some mistakes or forgotten
something.

When the EditPart is moved or resized, the selection border is not
refreshed. Any hints?

Thanks, Gunnar


Re: Refreshing Problem [message #61836 is a reply to message #61764] Tue, 04 February 2003 10:33 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

FlowFigure overrides setBounds() to prevent its children from being
adjusted. (in the text package, bounds are updated bottom-up, instead of
top-down). I just added a call to fireMoved(), which should fix the
problem. You can try the fix yourself by doing:

page = new FlowPage() {
public void setBounds(Rectangle r) {
super.setBounds(r);
fireMoved();
}
};


"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:b1o4ab$a47$1@rogue.oti.com...
> Hi!
>
> Please see attached picture. I have a refreshing problem with an EditPart
> that shows a FlowPage as figure. The EditPart uses a slightly modified
> ResizableEditPolicy. I'm wondering if I made some mistakes or forgotten
> something.
>
> When the EditPart is moved or resized, the selection border is not
> refreshed. Any hints?
>
> Thanks, Gunnar
>
>
>
Previous Topic:Connections and their parent
Next Topic:Logic Example is broken in I20030204
Goto Forum:
  


Current Time: Sun Jun 01 11:13:33 EDT 2025

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

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

Back to the top