RCP treeviewer [message #462627] |
Wed, 31 January 2007 02:20  |
Eclipse User |
|
|
|
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 10:55  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.65506 seconds