* @see fr.soleil.comete.bean.AbstractTangoBean#refreshGUI()
*/
@Override
protected void refreshGUI() {
// valeur de l'expression
StringArrayDeviceProperty property = new StringArrayDeviceProperty(this.model,
this.expressionProperty);
if (property != null) {
String[] data = property.getData();
if (data != null && data.length > 0) {
for (int i = 0; i < data.length; i++) {
String sData = data[i];
String[] splits = sData.split(",");
if (splits != null && splits.length == 2)
if (splits[0].endsWith(valueAttribute)) {
String value = splits[1];
this.jListExpression.setValueAt(value, 0);
}
}
}
}
// valeur de value
this.valueViewer.setOpaque(true);
setWidgetModel(this.valueViewer, generateAttributeKey(this.valueAttribute));
// valeur de where
property = new StringArrayDeviceProperty(this.model, this.whereProperty);
if (property != null) {
String[] data = property.getData();
if (data != null) {
this.jListWhere.setListData(data);
}
}