#NEWLINE# def viewDtsElement( self , modelDocument , parentNode , n , parents , siblings ) : #NEWLINE# #INDENT# node = self . treeView . insert ( parentNode , 'end' , text = '{0} - {1}' . format ( os . path . basename ( modelDocument . uri ) , modelDocument . gettype ( ) ) , tags = ( ( 'odd' if ( n & 1 ) else 'even' ) , ) ) #NEWLINE# children = modelDocument . referencesDocument . keys ( ) #NEWLINE# childFamily = ( parents | siblings ) #NEWLINE# for ( i , referencedDocument ) in enumerate ( children ) : #NEWLINE# #INDENT# if ( referencedDocument not in parents ) : #NEWLINE# #INDENT# self . viewDtsElement ( referencedDocument , node , ( ( n + i ) + 1 ) , childFamily , children )