TreeViewer refresh [message #462625] |
Wed, 31 January 2007 07:05 |
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, have 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 TreeViewer,Tree and TreeColumn to achieve above requirement.
Problem Statement:
As mentioned above, newly added event need to appear in Tree view as soon it arrives. I wanted to update only a specific node for which child event has been added, instead of refreshing whole tree which will lead to flicker. Is it possible and how?
|
|
|
|
Re: TreeViewer refresh [message #462672 is a reply to message #462625] |
Wed, 31 January 2007 12:52 |
Eclipse User |
|
|
|
Originally posted by: lamont_gilbert.rigidsoftware.com
On Wed, 31 Jan 2007 02:05:41 -0500, 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, have 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 TreeViewer,Tree and TreeColumn to achieve above
> requirement.
>
> Problem Statement:
> As mentioned above, newly added event need to appear in Tree view as soon
> it arrives. I wanted to update only a specific node for which child event
> has been added, instead of refreshing whole tree which will lead to
> flicker. Is it possible and how?
Are you changing the structure of the tree, or changing the name of nodes,
or both?
|
|
|
Re: TreeViewer refresh [message #462815 is a reply to message #462672] |
Thu, 01 February 2007 09:22 |
Eclipse User |
|
|
|
Originally posted by: chaitrali.butala.cognizant.com
I am changing the structure of the tree.
Seems,have got the solution. We can refresh a particular node instaed of complete tree. Thanks for the help.
|
|
|
Re: TreeViewer refresh [message #462818 is a reply to message #462645] |
Thu, 01 February 2007 09:26 |
Eclipse User |
|
|
|
Originally posted by: chaitrali.butala.cognizant.com
I am already using add method but was unaware of the method refresh that can refresh only a particular node.
Now I am using it and it is working. Thanks for the help.
|
|
|
Re: TreeViewer refresh [message #463163 is a reply to message #462818] |
Wed, 07 February 2007 08:50 |
Eclipse User |
|
|
|
Originally posted by: chaitrali.butala.cognizant.com
I am building up an Eclipse-RCP based application.
I have already tried organizing my code in MVC pattern, but wondering weather I can get better by usage of Spring IOC?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03918 seconds