Le 21/12/2011 11:09, Stéphane Ducasse a écrit :
alain
did we describe that in the chapter? I don't think so but we should :)
Stef
On Dec 21, 2011, at 10:59 AM, Alain Plantec wrote:
Hi Hilaire,
If you want a package specific keyword, then your package must add a sepecific method to SettingTreeBuilder. for drgeosettings if should be:
SettingTreeBuilder>> drgeosettings <settingPragmaProcessor> "Process a<drgeosettings> pragma"
currentPragma methodClass theNonMetaClass perform: currentPragma selector with: self.
Cheers Alain
Le 21/12/2011 10:49, Hilaire Fernandes a écrit :
I want to use drgeo specific setting and let the user browser drgeosettings only. As documented in the SettingBrowser comment, I defined:
drgeoSettingsOn: aBuilder <drgeosettings> (aBuilder group: #drgeo) label: 'Dr. Geo'; description: 'All Dr. Geo related settings' translated; noOrdering; with: [
Then to browse drgeo specific settings I evaluate;
(SettingBrowser forKeywords: #('drgeosettings')) open
I got a MNU SettingTreeBuilder>>drgeosettings
Do I need to implement it?
Hilaire