@Override
  protected void OnEntityChanged() {
    super.OnEntityChanged();

    if (getEntity() != null) {
      UpdateProperties();
    }
  }
 @Override
 protected void OnEntityChanged() {
   // TODO Auto-generated method stub
   super.OnEntityChanged();
   updatePropeties();
 }