Skip to main content


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 22:03 Go to next message
Ondřej Kála is currently offline Ondřej KálaFriend
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 19:12 Go to previous messageGo to next message
Ondřej Kála is currently offline Ondřej KálaFriend
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 16:14 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
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: Tue Apr 23 06:10:32 GMT 2024

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

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

Back to the top