if (myModel != null) { myEntities = new LinkedList(myModel.getEntities()); addPropertyChangeListeners(); }
addPropertyChangeListeners();
  protected void refreshPropertyChangeListeners() {    removePropertyChangeListeners();    if (myModel != null) {      myEntities = new LinkedList(myModel.getEntities());      addPropertyChangeListeners();    }  }