SEBSERV-336 fixed

This commit is contained in:
anhefti 2022-07-13 09:09:36 +02:00
parent c6a401b6a9
commit 5ad1b0bf54

View file

@ -69,7 +69,7 @@ public class MonitoringExamSearchPopup {
final ModalInputDialog<Void> dialog = new ModalInputDialog<>( final ModalInputDialog<Void> dialog = new ModalInputDialog<>(
pageContext.getParent().getShell(), pageContext.getParent().getShell(),
this.pageService.getWidgetFactory()); this.pageService.getWidgetFactory());
dialog.setLargeDialogWidth(); dialog.setVeryLargeDialogWidth();
dialog.setDialogHeight(380); dialog.setDialogHeight(380);
dialog.open( dialog.open(
TITLE_TEXT_KEY, TITLE_TEXT_KEY,
@ -93,20 +93,23 @@ public class MonitoringExamSearchPopup {
Domain.CLIENT_CONNECTION.ATTR_EXAM_USER_SESSION_ID, Domain.CLIENT_CONNECTION.ATTR_EXAM_USER_SESSION_ID,
TABLE_COLUMN_NAME, TABLE_COLUMN_NAME,
ClientConnection::getUserSessionId) ClientConnection::getUserSessionId)
.withFilter(this.nameFilter)) .withFilter(this.nameFilter)
.widthProportion(2))
.withColumn(new ColumnDefinition<>( .withColumn(new ColumnDefinition<>(
ClientConnection.ATTR_INFO, ClientConnection.ATTR_INFO,
TABLE_COLUMN_INFO, TABLE_COLUMN_INFO,
ClientConnection::getInfo) ClientConnection::getInfo)
.withFilter(this.infoFilter)) .withFilter(this.infoFilter)
.widthProportion(3))
.withColumn(new ColumnDefinition<ClientConnection>( .withColumn(new ColumnDefinition<ClientConnection>(
Domain.CLIENT_CONNECTION.ATTR_STATUS, Domain.CLIENT_CONNECTION.ATTR_STATUS,
TABLE_COLUMN_STATUS, TABLE_COLUMN_STATUS,
row -> this.pageService.getResourceService() row -> this.pageService.getResourceService()
.localizedClientConnectionStatusName(row.getStatus())) .localizedClientConnectionStatusName(row.getStatus()))
.withFilter(this.statusFilter)) .withFilter(this.statusFilter)
.widthProportion(1))
.withDefaultAction(t -> actionBuilder .withDefaultAction(t -> actionBuilder
.newAction(ActionDefinition.MONITOR_EXAM_CLIENT_CONNECTION) .newAction(ActionDefinition.MONITOR_EXAM_CLIENT_CONNECTION)