<div dir="auto">I would put them in PreferencesDictionary class side and call them to initialize the global Preferences.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 19 Jun 2022 at 9:07 PM Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="4" style="color:rgb(0,0,0)">Hi Luciano,<br>
</font></p>
<p><font size="4" style="color:rgb(0,0,0)">Okay I had doubt on that. <br>
</font></p>
<p><font size="4" style="color:rgb(0,0,0)">Observe in PreferenceNG there are several class
methods to install the system preferences (look at class
categories class initialization, data, event handlers, fonts.
Where will you move these ones?</font></p></div><div text="#000000" bgcolor="#FFFFFF">
<p><font size="4" style="color:rgb(0,0,0)">Hilaire</font><br>
</p>
<div>Le 19/06/2022 à 15:58, Luciano
Notarfrancesco a écrit :<br>
</div>
<blockquote type="cite">
<div dir="auto">Hi Hilaire, actually I was proposing to move the
class side of PreferenceNG to a new class PreferenceDictionary,
and then make a global Preferences just an instance of
PreferenceDictionary (Smalltalk at: #Preferences put:
PreferenceDictionary new). I don’t see the need for an extra
singleton class. Also, a tool to view and edit preferences could
work on any instance of PreferenceDictionary, maybe even on a
list of instances of PreferenceDictionary if that makes sense in
your UI design.</div>
<div><br>
</div>
</blockquote>
<pre cols="72" style="font-family:monospace">--
GNU Dr. Geo
<a href="http://drgeo.eu" target="_blank" style="font-family:monospace">http://drgeo.eu</a>
<a href="http://blog.drgeo.eu" target="_blank" style="font-family:monospace">http://blog.drgeo.eu</a></pre>
</div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>