#NEWLINE# def onBreadcrumbsChanged( self , crumbs ) : #NEWLINE# #INDENT# self . crumbs . clear ( ) #NEWLINE# for ( n , crumb ) in enumerate ( crumbs ) : #NEWLINE# #INDENT# if ( n < ( len ( crumbs ) - 1 ) ) : #NEWLINE# #INDENT# self . crumbs . add ( Hyperlink ( text = crumb [ 'label' ] , TargetHistoryToken = crumb [ 'token' ] ) ) #NEWLINE# self . crumbs . add ( Label ( '>' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . crumbs . add ( HTML ( ( '<b>%s</b>' % crumb [ 'label' ] ) ) )