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, | ||||
|                         CONNECTION_INFO_TEXT_KEY, | ||||
|                         Constants.EMPTY_NOTE) | ||||
|                         .asArea(50)) | ||||
|                         .asArea(50) | ||||
|                         .asColorBox()) | ||||
|                 .withDefaultSpanInput(3) | ||||
|                 .addField(FormBuilder.text( | ||||
|                         Domain.CLIENT_CONNECTION.ATTR_STATUS, | ||||
|  | @ -229,6 +230,7 @@ public class ClientConnectionDetails implements MonitoringEntry { | |||
|         if (this.startTime < 0) { | ||||
|             this.startTime = System.currentTimeMillis(); | ||||
|         } | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
|     public void updateGUI( | ||||
|  | @ -317,6 +319,10 @@ public class ClientConnectionDetails implements MonitoringEntry { | |||
|         if (notificationTable != null) { | ||||
|             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) { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti