Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Regarding TreeViewer(Reflecting changes done in UI for TreeViewer)
Regarding TreeViewer [message #659497] Mon, 14 March 2011 10:36
Karan  is currently offline Karan
Messages: 23
Registered: October 2009
Junior Member
Good Day to you All,

I have a tree viewer and it has got multiple columns ( that is, the number of columns is 4 exactly)

The 4th column, i wish to have buttons named as "<--" for every row, for as many rows as there are.....

On clicking this button IN ANY ROW of the TreeViewer, I need to:-
a. get the element in the 3rd column copied into the 1st column

b. change the background color of the entire row to indicate that the user had indeed done changes to this row.


Obviously, irrespective of expanding / minimizing the tree, these changes must persist.

Now, I have created the TreeViewer et al with the data present in it... my problem is :-

On clicking the button, I need to:
1. reflect the change in my Model.

AND more importantly...

2. as mentioned above, reflect the change in the GUI ITSELF.

I have tried to be as clear and succint as possible and I hope you have understood this issue.

Any ideas on how I could accomplish this in the cleanest and most efficient code possible ?

I surely do not ask any of you to directly give me the code for this! Any suggestions, hints, tips or good information/sites regarding this would be greatly appreciated.

Thank You,
Karan
Previous Topic:TreeViewer Collapses on refresh
Next Topic:Display Class Dispose method
Goto Forum:
  


Current Time: Tue Sep 16 19:36:51 GMT 2014

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

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