Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Query on Figure.paint(Graphics g)
Query on Figure.paint(Graphics g) [message #219673] Thu, 20 July 2006 07:52
Eclipse UserFriend
Originally posted by: dstamkokeng.gmail.com

Hi,

Can I know when is the paint method of Figure called?

I will like to invoke a change in the Figure by repainting it (etc,
changing the background color, drawing etc) when I change the model.

However I am unable to get the Graphics object. A Figure has only 1
Graphics object? I try to make it public and use it in another method, but
it generates an error which says that the graphics object is dispose.

Can someone give me ome guidance on how to do repainting when I change the
underlying model? Thanks alot!
Previous Topic:How to get the offset after scrollbar scrolling?
Next Topic:Desactivate properties for an editpart
Goto Forum:
  


Current Time: Thu Apr 25 12:56:54 GMT 2024

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

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

Back to the top