list.setSelectedItems(sel);
}
@Override
protected void update(M model) {
DataListItem item = (DataListItem) findItem(model);
if (item != null) {
setModel(item, model);
item.setText(getTextValue(model, displayProperty, true));
item.setIconStyle(getIconValue(model, displayProperty));
String style = (styleProvider == null) ? null : styleProvider.getStringValue(model,
displayProperty);
item.setTextStyle(style);
}
}