public RowRenderer getWorkersRenderer() {
return new RowRenderer() {
@Override
public void render(Row row, Object data) {
final Worker worker = (Worker) data;
row.setValue(worker);
row.addEventListener(Events.ON_CLICK,
new EventListener() {
@Override
public void onEvent(Event event) {
goToEditForm(worker);
}
});
row.appendChild(new Label(worker.getSurname()));
row.appendChild(new Label(worker.getFirstName()));
row.appendChild(new Label(worker.getNif()));
row.appendChild(new Label(worker.getCode()));
row.appendChild(new Label((Boolean.TRUE.equals(worker
.isLimitingResource())) ? _("yes") : _("no")));
Hbox hbox = new Hbox();
hbox.appendChild(Util.createEditButton(new EventListener() {
@Override