}
private void syncEntityDetailsWithInput(final ObjectAdapter adapter) {
if (adapter != null && getEntityModel().isEntityDetailsVisible()) {
final EntityModel entityModel = new EntityModel(adapter);
addOrReplace(new EntityCombinedPanel(ID_ENTITY_DETAILS, entityModel));
} else {
permanentlyHide(ID_ENTITY_DETAILS);
}
}