class FieldLayoutComponent implements FormLayoutComponent,
                                             LayoutDragComponent {

    @Override
    public String getDragComponentTitle() {

        String name = "";

        if (field.getBinding() != null) {
            name = field.getBinding();
        } else {
            name = translationService.getTranslation(fieldRenderer.getName());
            if (name == null || name.isEmpty()) {
                name = fieldRenderer.getName();
            }
        }

        return name;
    }

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

}