Source:
private void initTable(ApplicationConstants constants) { table = new SimpleActionTable<Permissions>(modelProvider, getTableHeaderlessResources(), getTableResources(), eventBus, clientStorage); content.add(table); table.addColumn(new PermissionTypeColumn(), constants.empty(), "30px"); TextColumnWithTooltip<Permissions> userColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getOwnerName(); } }; table.addColumn(userColumn, constants.userPermission(), "300px"); TextColumnWithTooltip<Permissions> namespaceColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getNamespace(); } }; table.addColumn(namespaceColumn, constants.namespace(), "200px"); TextColumnWithTooltip<Permissions> authzColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getAuthz(); } }; authzColumn.makeSortable(); table.addColumn(authzColumn, constants.authz(), "200px"); TextColumnWithTooltip<Permissions> roleColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getRoleName(); } }; table.addColumn(roleColumn, constants.rolePermission()); table.addActionButton(new WebAdminButtonDefinition<Permissions>(constants.addPermission()) { @Override protected UICommand resolveCommand() { return modelProvider.getModel().getAddCommand(); } }); table.addActionButton(new WebAdminButtonDefinition<Permissions>(constants.removePermission()) { @Override protected UICommand resolveCommand() { return modelProvider.getModel().getRemoveCommand(); } }); table.getSelectionModel().addSelectionChangeHandler(new SelectionChangeEvent.Handler() { @Override public void onSelectionChange(SelectionChangeEvent event) { modelProvider.setSelectedItems(table.getSelectionModel().getSelectedList()); } }); }

Target:
private void initTable(ApplicationConstants constants) { table = new SimpleActionTable<Permissions>(modelProvider, getTableHeaderlessResources(), getTableResources(), eventBus, clientStorage); content.add(table); table.addColumn(new PermissionTypeColumn(), constants.empty(), "30px"); TextColumnWithTooltip<Permissions> userColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getOwnerName(); } }; table.addColumn(userColumn, constants.userPermission(), "300px"); TextColumnWithTooltip<Permissions> namespaceColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getNamespace(); } }; table.addColumn(namespaceColumn, constants.namespace(), "200px"); TextColumnWithTooltip<Permissions> authzColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getAuthz(); } }; table.addColumn(authzColumn, constants.authz(), "200px"); TextColumnWithTooltip<Permissions> roleColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getRoleName(); } }; table.addColumn(roleColumn, constants.rolePermission()); table.addActionButton(new WebAdminButtonDefinition<Permissions>(constants.addPermission()) { @Override protected UICommand resolveCommand() { return modelProvider.getModel().getAddCommand(); } }); table.addActionButton(new WebAdminButtonDefinition<Permissions>(constants.removePermission()) { @Override protected UICommand resolveCommand() { return modelProvider.getModel().getRemoveCommand(); } }); table.getSelectionModel().addSelectionChangeHandler(new SelectionChangeEvent.Handler() { @Override public void onSelectionChange(SelectionChangeEvent event) { modelProvider.setSelectedItems(table.getSelectionModel().getSelectedList()); } }); }