[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: paintChildren and IProgressMonitor updates

If your painting is so slow (and there are valid cases I'm sure), you should 
be rendering to an Image, and then just painting that Image. Otherwise, 
closing a dialog box or context menu will take too long.

You could then create a job that updates the cached image.

"Koen van Dijken" <kvdijken@xxxxxxxxxx> wrote in message 
news:duejvf$nde$1@xxxxxxxxxxxxxx
> Hello,
>
> I want to update the progressMonitor (message and work) in the statusbar 
> during a call to Figure.paintChildren(). I cannot get it to work however. 
> Nothing is displayed.
>
> Is it possible? Did anyone have any luck doing the same?
>
> Koen
>