question: public List < List < String > > computeSelectedPaths ( ) { List < List < String > > selectedPaths = new ArrayList < > ( ) ; for ( int i = 0 , n = selectedNodes . size ( ) ; i < n ; i ++ ) { D nodeData = selectedNodes . get ( i ) ; selectedPaths . add ( dataAdapter . getNodePath ( nodeData ) ) ; } return selectedPaths ; }
target:  Restores visual selection for all selected nodes tracked by the SelectionModel.