Master/slave problem [message #755279] |
Mon, 07 November 2011 22:06 |
|
I have view A with a tree viewer and view B with a table viewer.
The tree viewer has 2 levels; on the second levels it list the children(s) on first level. In the same time when a entry of first level is selected in the tree viewer the table viewer from view B is populated with entries. This works correctly so far.
Problem:
When I added support in table viewer for editing support, allowing the user to change the table values I do not see the tree viewer automatically updated.
Question(s):
1. Is there an automated mechanism to signal back to the tree viewer that it needs to be refreshed/updated?
Time is what you make of it.
|
|
|
|
Re: Master/slave problem [message #755582 is a reply to message #755397] |
Tue, 08 November 2011 21:01 |
|
Hello Tom
I have 2 viewers in 2 separate views. In my EditingSupport setValue() method I do call viewer.update(o, null);, but this has effect only on the second view (the details view). The first view (the master view) is not refreshed at all.
As far as I saw Eclipse Databindings Viewer Support is effective only when a single view is involved and not two views. Do you have some kind of snippet for this case?
Time is what you make of it.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03751 seconds