Data Binding for JFace Table Viewer [message #1271266] |
Fri, 14 March 2014 17:37 |
JINGJIE JIANG Messages: 9 Registered: March 2014 |
Junior Member |
|
|
I create a class as below:
public class DataTest{
private long Id;
private String Info;
public DataTest (long id, String info) {
this.Id = id;
this.Info = info;
}
public long getID() {
return Id;
}
public void setID(long id) {
Id = id;
}
public String getInfo() {
return Info;
}
public void setInfo(String info) {
Info = info;
}
}
I want to bind the property " input" of tableViewer to the object of this class, either Id or Info, but the button "Finish" never turns to a valid one, which means that I can bind this class that I created, could you tell me why and how to fix it?
[Updated on: Fri, 14 March 2014 17:37] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03358 seconds