#NEWLINE# def __selectionChanged( self , pathListing ) : #NEWLINE# #INDENT# assert ( pathListing is self . __pathListing ) #NEWLINE# paths = pathListing . getSelectedPaths ( ) #NEWLINE# paths = IECore . StringVectorData ( [ str ( path ) for path in paths ] ) #NEWLINE# with Gaffer . BlockedConnection ( self . _contextChangedConnection ( ) ) : #NEWLINE# #INDENT# self . getContext ( ) . set ( 'ui:scene:selectedPaths' , paths )