if (value instanceof UiListAttributeNode) {
UiListAttributeNode uiListAttribute = (UiListAttributeNode)value;
// set the possible values in the combo
String[] items = uiListAttribute.getPossibleValues(null);
mItems = new String[items.length];
System.arraycopy(items, 0, mItems, 0, items.length);
setItems(mItems);
// now edit the current value of the attribute
String attrValue = uiListAttribute.getCurrentValue();
mCombo.setText(attrValue);
return;
}
// default behavior
super.doSetValue(value);