private ListModel createModel() {
if (model != null)
return model;
ListListModel model;
if (selectableItemsHolder != null) {
model = new DynamicListModel(selectableItemsHolder);
}
else {
model = new ListListModel();
}
model.setComparator(comparator);
model.sort();
return model;
}