suppressing Results window display while ResultsTable is being populated?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

suppressing Results window display while ResultsTable is being populated?

Bill Christens-Barry
I'm writing a plugin that adds thousands of rows, one at a time, to a ResultsTable. The display and
updating of the Results window each time a row is added to the ResultsTable is slowing down the
execution of the plugin.

How can I suppress display of the Results window in my plugin until the ResultsTable has been fully
populated? I didn't see a hide() method or anything of apparent use for this in the API or list archive.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: suppressing Results window display while ResultsTable is being populated?

Bill Christens-Barry
Ok, I see that I was prematurely showing the ResultsTable and have fixed this.

Thanks for the useful suggestions that will no doubt follow.
Reply | Threaded
Open this post in threaded view
|

Re: suppressing Results window display while ResultsTable is being populated?

Gabriel Landini
On Tuesday 17 February 2009 13:39:58 Bill Christens-Barry wrote:
> Ok, I see that I was prematurely showing the ResultsTable and have fixed
> this.

However, if one is adding things to the existing results table, the table is
already shown, so it slows down the collection of further data.
I noted this with the particles8 plugin if I collect data from more than one
image.
I checked the api, but I cannot see a way of adding to the table without
updating it (which it is, what I guess slows it down).

Is there a way of doing this? I mean add to the RT without updating, or
momentarily hiding it, without erasing the contents. Then at the end of the
process one could update the table shown.

Thanks

Gabriel