[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: paintChildren and IProgressMonitor updates
|
Intuitively this seems like an improper place to be updating progress.
Usually this is done in context to command execution.
Regarding your specific problem, since paintChildren is being executed on
the UI thread, updating the statusbar is probably doing a Display.asyncExec
to update meaning it will not spawn execution until the current execution is
finished before exeucting.
-Steve
"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
>
>