#NEWLINE# def selectForegrounds( self ) : #NEWLINE# #INDENT# d = ilastik . gui . overlaySelectionDlg . OverlaySelectionDialog ( o . ilastik , singleSelection = False ) #NEWLINE# o = d . exec_ ( ) #NEWLINE# if ( len ( o ) > 0 ) : #NEWLINE# #INDENT# self . overlayItem . setForegrounds ( o ) #NEWLINE# #UNINDENT# self . buildDialog ( )