label = text;
}
else if( ! label.equals( text ) )
{
final LocalizationService localizationService = part().definition().adapt( LocalizationService.class );
label = localizationService.transform( label, CapitalizationType.FIRST_WORD_ONLY, false );
}
if( label == null )
{
if( this.columnHandler.isEmptyTextLabelDesired( element ) )