--- Begin Message ---> Le 8 avr. 2015 à 18:34, Laura Risani <laura.ris...@gmail.com> a écrit : > > Hi all, > > Say that i wanted to open a SettingBrowser showing only the settings defined > by 'SystemSystemSettings class >> systemSettingOn:' . How could i do that? > > There is a method 'SettingBrowser >> browse:' . Based on it's comment i tried > adding to systemSettingOn: the pragma <banana>, and then sending ' > SettingBrowser browse:#('banana') ' but it didn't work.Hello Laura, try this: SettingTreeBuilder>>banana <settingPragmaProcessor> "Process a <banana> pragma » "banana just works as a regular setting" ^ self systemsettings then define your banana settings: BananaSetting class>>myBananaSettingOn: aBuilder <banana> (aBuilder group: #Banana) then try: SettingBrowser browse: #('banana’) > > Best, > Laura
--- End Message ---
Re: [Pharo-users] Opening SettingBrowser on custom settings
Alain Plantec via Pharo-users Wed, 08 Apr 2015 14:05:50 -0700
- [Pharo-users] Opening SettingBrowser on cust... Laura Risani
- Re: [Pharo-users] Opening SettingBrowse... Alain Plantec via Pharo-users
- Re: [Pharo-users] Opening SettingBrowse... Nicolai Hess
- Re: [Pharo-users] Opening SettingBr... Laura Risani
- Re: [Pharo-users] Opening Setti... Laura Risani