}
}
private void renderItem(Object elem, int position) {
ILabelProvider lp = (ILabelProvider) getLabelProvider();
ListItem item = new ListItem();
item.setData(elem);
item.setText(lp.getText(elem));
String style = lp.getIconStyle(elem);
if (style != null) {
item.setIconStyle(lp.getIconStyle(elem));
}
list.insert(item, position);
}