'From Pharo9.0.0 of 10 June 2021 [Build information: Pharo-9.0.0+build.1459.sha.bbabddb7316290d6da3044665f3b1d8ca5b47439 (64 Bit)] on 17 June 2021 at 2:58:13.629152 pm'! NmFileChooserChoice << #NmFileChooserOptionsChoice slots: { #options . #selectedIndex }; tag: 'Utils'; package: 'Nevermind-View'! !NmFileChooserOptionsChoice methodsFor: 'accessing' stamp: 'EstebanLorenzano 6/14/2021 15:22'! selectedIndex ^ selectedIndex! ! !NmFileChooserOptionsChoice methodsFor: 'accessing' stamp: 'EstebanLorenzano 6/14/2021 15:22'! options ^ options! ! !NmFileChooserOptionsChoice methodsFor: 'accessing' stamp: 'EstebanLorenzano 6/14/2021 15:22'! options: anObject options := anObject! ! !NmFileChooserOptionsChoice methodsFor: 'accessing' stamp: 'EstebanLorenzano 6/14/2021 15:22'! selectedIndex: anObject selectedIndex := anObject! ! !NmFileChooserOptionsChoice methodsFor: 'adding' stamp: 'EstebanLorenzano 6/14/2021 15:22'! getFrom: dialog | choosen | choosen := dialog choiceAt: id. ^ choosen ifNotNil: [ self options at: choosen asNumber ]! ! !NmFileChooserOptionsChoice methodsFor: 'adding' stamp: 'EstebanLorenzano 6/14/2021 15:45'! addTo: dialog id := dialog addChoice: self label options: self options. self selectedIndex ifNotNil: [ :index | dialog choiceAt: id option: index ]! !