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:Incorporating GEF components in simple windows or special Perspective? Hints welcome...
Next Topic:CommandStack deprecated method nottifyListeners().
Goto Forum:
  


Current Time: Fri Mar 29 11:42:54 GMT 2024

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

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

Back to the top