public void clear() {
   myTableModel.clear();
   myElementToPropertiesMap.clear();
 }
 public void setElements(List<T> elements, boolean marked) {
   myTableModel.clear();
   myTableModel.addElements(elements, marked);
 }