Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Label is not painted when setBounds is calles
Label is not painted when setBounds is calles [message #213136] Mon, 03 April 2006 13:40 Go to next message
Eclipse UserFriend
Originally posted by: news.goodbyte.de

Hello,

I have a figure-type which extends Label. The content of this figure is
an icon. In the refreshVisual()-method of the figure's EditPart I do
call (among other things) the setBounds()-Method. When doing so, the
icon of the figure-type isn't show. When I not call setBounds(), the
icon is shown, but the label is not moveable. What can be wrong?

Greets
Benjamin
Re: Label is not painted when setBounds is calles [message #213357 is a reply to message #213136] Wed, 05 April 2006 11:58 Go to previous message
Eclipse UserFriend
Originally posted by: news.goodbyte.de

It seems so that paintFigure() isn't called when setBounds() was called
before, even if repaint() was called. How can a call of paintFigure() be
forced?

Greets
Benjamin
Previous Topic:Changing zoommanager
Next Topic:Connections and Drag&Drop
Goto Forum:
  


Current Time: Sun Nov 27 20:21:46 GMT 2022

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

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

Back to the top