<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Okay, so all in all we rename PreferenceNG to
PreferenceDictionary (to be done later anyway) and turn
ThePreferences class variable to an instance variable? <br>
</font></p>
<p><font size="4">The system specific methods should be on the
instance side as this will be where is the dictionary of
preference). The way to access the preferences will be done
instance side versus class side.<br>
</font></p>
<p>The downside: <font size="4">Application preference will have
access to methods related to system preferences.</font></p>
<p><font size="4"><br>
</font></p>
<p><font size="4"><br>
</font></p>
<div class="moz-cite-prefix">Le 19/06/2022 à 16:20, Luciano
Notarfrancesco a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAL5GDyrdg+HEs-M89qCDSXAn9apCPrkEzmaqeafB3AgxsfZQWw@mail.gmail.com">
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">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 style="color:rgb(0,0,0)" size="4">Hi Luciano,<br>
</font></p>
<p><font style="color:rgb(0,0,0)" size="4">Okay I had
doubt on that. <br>
</font></p>
<p><font style="color:rgb(0,0,0)" size="4">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 style="color:rgb(0,0,0)" size="4">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>
</div>
</blockquote>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>