SEBSERV-376 gui client view
This commit is contained in:
parent
4bc0a2da06
commit
99b26e52d1
1 changed files with 7 additions and 1 deletions
|
@ -134,7 +134,8 @@ public class ClientConnectionDetails implements MonitoringEntry {
|
||||||
ClientConnection.ATTR_INFO,
|
ClientConnection.ATTR_INFO,
|
||||||
CONNECTION_INFO_TEXT_KEY,
|
CONNECTION_INFO_TEXT_KEY,
|
||||||
Constants.EMPTY_NOTE)
|
Constants.EMPTY_NOTE)
|
||||||
.asArea(50))
|
.asArea(50)
|
||||||
|
.asColorBox())
|
||||||
.withDefaultSpanInput(3)
|
.withDefaultSpanInput(3)
|
||||||
.addField(FormBuilder.text(
|
.addField(FormBuilder.text(
|
||||||
Domain.CLIENT_CONNECTION.ATTR_STATUS,
|
Domain.CLIENT_CONNECTION.ATTR_STATUS,
|
||||||
|
@ -229,6 +230,7 @@ public class ClientConnectionDetails implements MonitoringEntry {
|
||||||
if (this.startTime < 0) {
|
if (this.startTime < 0) {
|
||||||
this.startTime = System.currentTimeMillis();
|
this.startTime = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateGUI(
|
public void updateGUI(
|
||||||
|
@ -317,6 +319,10 @@ public class ClientConnectionDetails implements MonitoringEntry {
|
||||||
if (notificationTable != null) {
|
if (notificationTable != null) {
|
||||||
notificationTable.refreshPageSize();
|
notificationTable.refreshPageSize();
|
||||||
}
|
}
|
||||||
|
if (this.connectionData.clientConnection.clientVersionGranted != null &&
|
||||||
|
!this.connectionData.clientConnection.clientVersionGranted) {
|
||||||
|
form.setFieldColor(ClientConnection.ATTR_INFO, this.colorData.color2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getConnectionInfo(final ClientConnection clientConnection) {
|
private String getConnectionInfo(final ClientConnection clientConnection) {
|
||||||
|
|
Loading…
Reference in a new issue