class FieldLayoutComponent implements FormLayoutComponent,
                                             LayoutDragComponent {

    public void addComponentParts(LayoutComponent component) {
        Set<String> parts = fieldRenderer.getFieldParts();
        component.removePartIf(partId ->  !parts.contains(partId));
        parts.forEach(component::addPartIfAbsent);
    }

    @Inject public  FieldLayoutComponent(FieldRendererManager fieldRendererManager, TranslationService translationService);

}