Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP treeviewer
RCP treeviewer [message #462627] Wed, 31 January 2007 07:20 Go to next message
Eclipse UserFriend
Originally posted by: chaitrali.butala.cognizant.com

Problem Context:
I am developing a RCP based real time application. Objective of the application is to capture real time events (~200/sec) from information bus and display them in a tree format.

Tree hierarchy is required because events received, has parent child relationship I.e. an event received can be a parent event by it self or can be child of any already present event.

Right now I am using Tree,TreeViewer and TreeColumn to achieve above requirement.

Problem Statement:
As mentioned above, newly added event needs to appear in Tree view as soon it arrives. I want to update only a specific node for which child event has been added, instead of refreshing whole tree which will lead to flicker. Is there any solution?
Re: RCP treeviewer [message #462686 is a reply to message #462627] Wed, 31 January 2007 15:55 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
chaitrali wrote:
> Problem Context:
> I am developing a RCP based real time application. Objective of the application is to capture real time events (~200/sec) from information bus and display them in a tree format.
>
> Tree hierarchy is required because events received, has parent child relationship I.e. an event received can be a parent event by it self or can be child of any already present event.
>
> Right now I am using Tree,TreeViewer and TreeColumn to achieve above requirement.
>
> Problem Statement:
> As mentioned above, newly added event needs to appear in Tree view as soon it arrives. I want to update only a specific node for which child event has been added, instead of refreshing whole tree which will lead to flicker. Is there any solution?

I think you're looking for AbstractTreeViewer.add(Object, Object)
http://help.eclipse.org/help32/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/jface/viewers/AbstractTreeVi ewer.html#add(java.lang.Object,%20java.lang.Object)

Matthew
Previous Topic:Adding Listner in Editor for change in EditorInput
Next Topic:How to restore all editors after restart?
Goto Forum:
  


Current Time: Sat Sep 14 12:18:55 GMT 2024

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

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

Back to the top