Skip to main content



      Home
Home » Eclipse Projects » JFace » many images in jface tableviewer (display large number of swt images in jface tableviewer )
many images in jface tableviewer [message #639223] Mon, 15 November 2010 11:46 Go to next message
Eclipse UserFriend
I'm trying to show a jface scrollable tableviewer with a large number of images (>10000).
I have followed the example in this tutorial to build the table
http://www.vogella.de/articles/EclipseJFaceTable/article.htm l

Looks like if I try to do so I get a "no more handles" error, which does not occur if the number of images does not go beyond a certain threshold.

What is the way to load only images that are actually displayed? I.e. one only sees what is on the screen, and not images that have not been scrolled yet?

Thank you
Re: many images in jface tableviewer [message #639265 is a reply to message #639223] Mon, 15 November 2010 14:01 Go to previous messageGo to next message
Eclipse UserFriend
You need to clean them up when they go out of scope. The problem is that
ther's not really a reliable way to do it [1].

The only clean solution I know currently is to use Nebula-Grid which
allows you to track the currently visible cells and so you can dispose
invisible images.

Tom

[1] http://tomsondev.bestsolution.at/2007/01/05/what-items-are-v isible-in-tabletree/

Am 15.11.10 17:46, schrieb fran81:
> I'm trying to show a jface scrollable tableviewer with a large number of
> images (>10000). I have followed the example in this tutorial to build
> the table http://www.vogella.de/articles/EclipseJFaceTable/article.htm l
>
> Looks like if I try to do so I get a "no more handles" error, which does
> not occur if the number of images does not go beyond a certain threshold.
>
> What is the way to load only images that are actually displayed? I.e.
> one only sees what is on the screen, and not images that have not been
> scrolled yet?
>
> Thank you
Re: many images in jface tableviewer [message #639299 is a reply to message #639265] Mon, 15 November 2010 18:53 Go to previous message
Eclipse UserFriend
Thanks Tom for the clarification!
Previous Topic:TextEditor and View
Next Topic:Thumbnail view
Goto Forum:
  


Current Time: Wed Jul 23 04:07:19 EDT 2025

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

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

Back to the top