EOEntity entity = (EOEntity) _event.getSource();
    public void propertyChange(PropertyChangeEvent _event) {      TreeViewer treeViewer = EOModelTreeViewUpdater.this.getTreeViewer();      if (treeViewer != null && !treeViewer.getTree().isDisposed()) {        EOEntity entity = (EOEntity) _event.getSource();        String changedPropertyName = _event.getPropertyName();        if (EOEntity.NAME.equals(changedPropertyName)) {          //getTreeViewer().refresh(entity, true);          treeViewer.refresh(true);        }        else if (EOEntity.FETCH_SPECIFICATIONS.equals(changedPropertyName)) {          //getTreeViewer().refresh(entity, true);          treeViewer.refresh(true);        }        else if (EOEntity.FETCH_SPECIFICATION.equals(changedPropertyName)) {          //getTreeViewer().refresh(entity, true);          treeViewer.refresh(true);        }        else if (EOEntity.ATTRIBUTES.equals(changedPropertyName)) {          treeViewer.refresh(true);        }        else if (EOEntity.ATTRIBUTE.equals(changedPropertyName)) {          treeViewer.refresh(true);        }        else if (EOEntity.RELATIONSHIPS.equals(changedPropertyName)) {          EOModelTreeViewUpdater.this.refreshRelationshipsForEntity(entity);        }        else if (EOEntity.RELATIONSHIP.equals(changedPropertyName)) {          EOModelTreeViewUpdater.this.refreshRelationshipsForEntity(entity);        }      }    }