Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Filling Tree with hundreds of items without freezing
Filling Tree with hundreds of items without freezing [message #1034777] Fri, 05 April 2013 18:03 Go to next message
Ondřej Kála is currently offline Ondřej Kála
Messages: 7
Registered: November 2012
Junior Member
Hi, is it possible to fill a tree with items and have the GUI reactive during it? Using a thread with Display.asyncExec or Display.SyncExec doesnt help.
Re: Filling Tree with hundreds of items without freezing [message #1035357 is a reply to message #1034777] Sat, 06 April 2013 15:12 Go to previous messageGo to next message
Ondřej Kála is currently offline Ondřej Kála
Messages: 7
Registered: November 2012
Junior Member
Do I have to insert the TreeItems in parts, reading user actions in between?
Re: Filling Tree with hundreds of items without freezing [message #1043374 is a reply to message #1035357] Wed, 17 April 2013 12:14 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
Use a Tree with style SWT.VIRTUAL as demonstrated in
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet202.java
..

Grant


On 4/6/2013 3:12 PM, Ondřej Kála wrote:
> Do I have to insert the TreeItems in parts, reading user actions in
> between?
Previous Topic:Collapsible Split Form
Next Topic:Sleak plugin
Goto Forum:
  


Current Time: Sat Aug 02 02:39:55 EDT 2014

Powered by FUDForum. Page generated in 0.02143 seconds