final ObjectAdapter adapter = getModel().getPendingElseCurrentAdapter();
// syncLinkWithInput
if (adapter != null) {
if(getComponentForRegular() != null) {
final EntityModel entityModelForLink = new EntityModel(adapter);
entityModelForLink.setContextAdapterIfAny(getModel().getContextAdapterIfAny());
entityModelForLink.setRenderingHint(getModel().getRenderingHint());
final ComponentFactory componentFactory =
getComponentFactoryRegistry().findComponentFactory(ComponentType.ENTITY_ICON_AND_TITLE, entityModelForLink);
final Component component = componentFactory.createComponent(entityModelForLink);