BindingBuilder builder = new BindingBuilder(
getApplication().getBindingFactory(),
this);
builder.bindToAction(view.getCheckAll(), "checkAllAction()");
TableBindingBuilder tableBuilder = new TableBindingBuilder(builder);
tableBuilder.addColumn(
"",
"parent.setCurrentEntity(#item), selected",
Boolean.class,
true,
Boolean.TRUE);
tableBuilder.addColumn(
"Source",
"#item.getSource().getName()",
String.class,
false,
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
tableBuilder.addColumn(
"Target",
"#item.getTarget().getName()",
String.class,
false,
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
tableBuilder.addColumn(
"Join",
"parent.getJoin(#item)",
String.class,
false,
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
tableBuilder.addColumn(
"Name",
"#item.getName()",
String.class,
false,
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
tableBuilder.addColumn(
"To Many",
"parent.getToMany(#item)",
String.class,
false,
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
this.tableBinding = tableBuilder.bindToTable(view.getTable(), "parent.entities");
}