Source:
void initTable(ApplicationConstants constants) { getTable().enableColumnResizing(); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getSlaveHostName(); } }, constants.volumeSubTabGeoRepSlaveClusterHostColumn()); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getSlaveVolumeName(); } }, constants.volumeSubTabGeoRepSlaveVolumeColumn()); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getStatus().toString(); } }, constants.volumeSubTabGeoRepStatusColumn()); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.newGeoRepSession()) { @Override protected UICommand resolveCommand() { return getDetailModel().getNewSessionCommand(); } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.removeGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.startGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.stopGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.geoRepSessionsOptions()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.geoRepSessionDetails()) { @Override protected UICommand resolveCommand() { return null; } }); }

Target:
void initTable(ApplicationConstants constants) { getTable().enableColumnResizing(); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getSlaveHostName(); } }, constants.volumeSubTabGeoRepSlaveClusterHostColumn(), "220px"); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getSlaveVolumeName(); } }, constants.volumeSubTabGeoRepSlaveVolumeColumn(), "220px"); getTable().addColumn(new TextColumnWithTooltip<GlusterGeoRepSession>() { @Override public String getValue(GlusterGeoRepSession object) { return object.getStatus().toString(); } }, constants.volumeSubTabGeoRepStatusColumn(), "150px"); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.newGeoRepSession()) { @Override protected UICommand resolveCommand() { return getDetailModel().getNewSessionCommand(); } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.removeGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.startGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.stopGeoRepSession()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.geoRepSessionsOptions()) { @Override protected UICommand resolveCommand() { return null; } }); getTable().addActionButton(new WebAdminButtonDefinition<GlusterGeoRepSession>(constants.geoRepSessionDetails()) { @Override protected UICommand resolveCommand() { return null; } }); }