| Summary: | [DataBinding] Allow derived values in table columns | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Boris Bokowski <bokowski> |
| Component: | UI | Assignee: | Boris Bokowski <bokowski> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | abuehler, bondtnt, Konstantin.Scheglov, mn, nicolas.gouy, peter |
| Version: | 3.2 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
We are working on a solution for this. The code I just added to bug 127381 might be helpful for those who need a workaround ASAP. *** This bug has been marked as a duplicate of bug 196785 *** |
From the newsgroup: I was playing with current(07.02.2006) DataBinding snapshot from CVS. Now I`m looking at such a UserCase: class Person { private String name; ... private Location location; // getters / setters here } class Location { private String name; // Get/Set here } I`ve looked at this code from "org.eclipse.jface.examples.databinding.nestedselection.TestMasterDetail.java" and have a question TableViewer peopleViewer = new TableViewer(personsTable); dbc.bind(new Property(peopleViewer, ViewersProperties.CONTENT), new TableModelDescription( new Property(model, "personList"), new Object[] { "name", "state" }), null); How bindig should be constructed for my Use Case. I`ve tried to put "location.name" instead of "state". That doesn`t help. Possible solutions?