Source:
public void initTable(CommonApplicationConstants constants) { getTable().enableColumnResizing(); getTable().addColumn(new PermissionTypeColumn(), constants.empty(), "30px"); TextColumnWithTooltip<Permissions> userColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getOwnerName(); } }; userColumn.makeSortable(); getTable().addColumn(userColumn, constants.userPermission(), "300px"); TextColumnWithTooltip<Permissions> namespaceColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getNamespace(); } }; getTable().addColumn(namespaceColumn, constants.namespace(), "300px"); TextColumnWithTooltip<Permissions> authzColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getAuthz(); } }; authzColumn.makeSortable(); getTable().addColumn(authzColumn, constants.authz(), "300px"); TextColumnWithTooltip<Permissions> roleColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getRoleName(); } }; roleColumn.makeSortable(); getTable().addColumn(roleColumn, constants.rolePermission(), "300px"); getTable().addActionButton(new UiCommandButtonDefinition<Permissions>(getEventBus(), constants.addPermission()) { @Override protected UICommand resolveCommand() { return getModel().getAddCommand(); } }); getTable().addActionButton(new UiCommandButtonDefinition<Permissions>(getEventBus(), constants.removePermission()) { @Override protected UICommand resolveCommand() { return getModel().getRemoveCommand(); } }); }

Target:
public void initTable(CommonApplicationConstants constants) { getTable().enableColumnResizing(); getTable().addColumn(new PermissionTypeColumn(), constants.empty(), "30px"); TextColumnWithTooltip<Permissions> userColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getOwnerName(); } }; userColumn.makeSortable(); getTable().addColumn(userColumn, constants.userPermission(), "300px"); TextColumnWithTooltip<Permissions> namespaceColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getNamespace(); } }; namespaceColumn.makeSortable(); getTable().addColumn(namespaceColumn, constants.namespace(), "300px"); TextColumnWithTooltip<Permissions> authzColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getAuthz(); } }; authzColumn.makeSortable(); getTable().addColumn(authzColumn, constants.authz(), "300px"); TextColumnWithTooltip<Permissions> roleColumn = new TextColumnWithTooltip<Permissions>() { @Override public String getValue(Permissions object) { return object.getRoleName(); } }; roleColumn.makeSortable(); getTable().addColumn(roleColumn, constants.rolePermission(), "300px"); getTable().addActionButton(new UiCommandButtonDefinition<Permissions>(getEventBus(), constants.addPermission()) { @Override protected UICommand resolveCommand() { return getModel().getAddCommand(); } }); getTable().addActionButton(new UiCommandButtonDefinition<Permissions>(getEventBus(), constants.removePermission()) { @Override protected UICommand resolveCommand() { return getModel().getRemoveCommand(); } }); }