ButtonBarControl btnBar = new ButtonBarControl(getWorkspace());
btnBar.addButton(new ButtonBarItem("Nou compte", "UserRegisterPage", Icon.ICON_IMAGE_PLUS));
btnBar.addButton(new ButtonBarItem("Refrescar", "UserManagerPage", Icon.ICON_IMAGE_REFRESH));
pc.addContent(btnBar, ContentColumns.MAIN);
GridControl grid = new GridControl(getWorkspace(), ID_GRID);
grid.addRowAction(new GridRowAction("", "UserRegisterPage?mode=edit&id=" + GridRowAction.TOKEN_ROW_ID, "icon-pencil"));
grid.addRowAction(new GridRowAction("", "UserManagerPage?action=delete&id=" + GridRowAction.TOKEN_ROW_ID, "icon-remove-circle"));
pc.addContent(grid, ContentColumns.MAIN);
return pc;
}