public void actionPerformed(ActionEvent e) {
DbEntity current = mediator.getCurrentDbEntity();
if (current instanceof DerivedDbEntity) {
DerivedDbEntity derived = (DerivedDbEntity) current;
DbEntity parent = (DbEntity) parentEntities.getSelectedItem();
if (parent != derived.getParentEntity()) {
derived.setParentEntity(parent);
derived.resetToParentView();
ProjectUtil.cleanObjMappings(mediator.getCurrentDataMap());
EntityEvent event = new EntityEvent(this, current);
mediator.fireDbEntityEvent(event);
}