final Image modificarB = new Image("images/modificar.png");
modificarB.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FormDialogBox dialog= new FormDialogBox(id, "modificar");
dialog.show();
}
});
final Image eliminarB = new Image("images/eliminar.png");
eliminarB.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FormDialogBox dialog= new FormDialogBox(id, "eliminar");
dialog.show();
}
});
perfiles.setWidget(row, 0, new Label(p.getNombre()));
perfiles.setWidget(row, 1, modificarB);
perfiles.setWidget(row, 2, eliminarB);