private void decorate ( final Map < String , String > controllerAttibs ) { final VaadinMessageSource i18n = SpringContextHelper . getBean ( VaadinMessageSource . class ) ; final Label title = new Label ( i18n . getMessage ( "label.target.controller.attrs" ) , ContentMode . HTML ) ; title . addStyleName ( SPUIDefinitions . TEXT_STYLE ) ; targetAttributesLayout . addComponent ( title ) ; if ( HawkbitCommonUtil . isNotNullOrEmpty ( controllerAttibs ) ) { for ( final Map . Entry < String , String > entry : controllerAttibs . entrySet ( ) ) { targetAttributesLayout . addComponent ( SPUIComponentProvider . createNameValueLabel ( entry . getKey ( ) + ": " , entry . getValue ( ) ) ) ; } } }
Custom Decorate .